spi: Move at25 (for SPI eeproms) to /drivers/misc/eeprom

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
Wolfram Sang 2009-01-26 21:19:54 +01:00 committed by Jean Delvare
parent 2e157888f1
commit e51d565ff6
5 changed files with 12 additions and 12 deletions

View file

@ -26,6 +26,17 @@ config AT24
This driver can also be built as a module. If so, the module This driver can also be built as a module. If so, the module
will be called at24. 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 config SENSORS_EEPROM
tristate "Old I2C EEPROM reader" tristate "Old I2C EEPROM reader"
depends on I2C && EXPERIMENTAL depends on I2C && EXPERIMENTAL

View file

@ -1,2 +1,3 @@
obj-$(CONFIG_AT24) += at24.o obj-$(CONFIG_AT24) += at24.o
obj-$(CONFIG_SPI_AT25) += at25.o
obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o

View file

@ -230,17 +230,6 @@ config SPI_XILINX
# #
comment "SPI Protocol Masters" 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 config SPI_SPIDEV
tristate "User mode SPI device driver support" tristate "User mode SPI device driver support"
depends on EXPERIMENTAL depends on EXPERIMENTAL

View file

@ -33,7 +33,6 @@ obj-$(CONFIG_SPI_SH_SCI) += spi_sh_sci.o
# ... add above this line ... # ... add above this line ...
# SPI protocol drivers (device/link on bus) # SPI protocol drivers (device/link on bus)
obj-$(CONFIG_SPI_AT25) += at25.o
obj-$(CONFIG_SPI_SPIDEV) += spidev.o obj-$(CONFIG_SPI_SPIDEV) += spidev.o
obj-$(CONFIG_SPI_TLE62X0) += tle62x0.o obj-$(CONFIG_SPI_TLE62X0) += tle62x0.o
# ... add above this line ... # ... add above this line ...