Skip to content

Commit

Permalink
spi: Move at25 (for SPI eeproms) to /drivers/misc/eeprom
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
  • Loading branch information
Wolfram Sang authored and Jean Delvare committed Jan 26, 2009
1 parent 2e15788 commit e51d565
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
11 changes: 11 additions & 0 deletions drivers/misc/eeprom/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ config AT24
This driver can also be built as a module. If so, the module
will be called at24.

config SPI_AT25
tristate "SPI EEPROMs from most vendors"
depends on SPI && SYSFS
help
Enable this driver to get read/write support to most SPI EEPROMs,
after you configure the board init code to know about each eeprom
on your target board.

This driver can also be built as a module. If so, the module
will be called at25.

config SENSORS_EEPROM
tristate "Old I2C EEPROM reader"
depends on I2C && EXPERIMENTAL
Expand Down
1 change: 1 addition & 0 deletions drivers/misc/eeprom/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
obj-$(CONFIG_AT24) += at24.o
obj-$(CONFIG_SPI_AT25) += at25.o
obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o
File renamed without changes.
11 changes: 0 additions & 11 deletions drivers/spi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -230,17 +230,6 @@ config SPI_XILINX
#
comment "SPI Protocol Masters"

config SPI_AT25
tristate "SPI EEPROMs from most vendors"
depends on SYSFS
help
Enable this driver to get read/write support to most SPI EEPROMs,
after you configure the board init code to know about each eeprom
on your target board.

This driver can also be built as a module. If so, the module
will be called at25.

config SPI_SPIDEV
tristate "User mode SPI device driver support"
depends on EXPERIMENTAL
Expand Down
1 change: 0 additions & 1 deletion drivers/spi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ obj-$(CONFIG_SPI_SH_SCI) += spi_sh_sci.o
# ... add above this line ...

# SPI protocol drivers (device/link on bus)
obj-$(CONFIG_SPI_AT25) += at25.o
obj-$(CONFIG_SPI_SPIDEV) += spidev.o
obj-$(CONFIG_SPI_TLE62X0) += tle62x0.o
# ... add above this line ...
Expand Down

0 comments on commit e51d565

Please sign in to comment.