Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Wolfram Sang and committed by
Jean Delvare
e51d565f 2e157888

+12 -12
+11
drivers/misc/eeprom/Kconfig
··· 26 26 This driver can also be built as a module. If so, the module 27 27 will be called at24. 28 28 29 + config SPI_AT25 30 + tristate "SPI EEPROMs from most vendors" 31 + depends on SPI && SYSFS 32 + help 33 + Enable this driver to get read/write support to most SPI EEPROMs, 34 + after you configure the board init code to know about each eeprom 35 + on your target board. 36 + 37 + This driver can also be built as a module. If so, the module 38 + will be called at25. 39 + 29 40 config SENSORS_EEPROM 30 41 tristate "Old I2C EEPROM reader" 31 42 depends on I2C && EXPERIMENTAL
+1
drivers/misc/eeprom/Makefile
··· 1 1 obj-$(CONFIG_AT24) += at24.o 2 + obj-$(CONFIG_SPI_AT25) += at25.o 2 3 obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o
-11
drivers/spi/Kconfig
··· 230 230 # 231 231 comment "SPI Protocol Masters" 232 232 233 - config SPI_AT25 234 - tristate "SPI EEPROMs from most vendors" 235 - depends on SYSFS 236 - help 237 - Enable this driver to get read/write support to most SPI EEPROMs, 238 - after you configure the board init code to know about each eeprom 239 - on your target board. 240 - 241 - This driver can also be built as a module. If so, the module 242 - will be called at25. 243 - 244 233 config SPI_SPIDEV 245 234 tristate "User mode SPI device driver support" 246 235 depends on EXPERIMENTAL
-1
drivers/spi/Makefile
··· 33 33 # ... add above this line ... 34 34 35 35 # SPI protocol drivers (device/link on bus) 36 - obj-$(CONFIG_SPI_AT25) += at25.o 37 36 obj-$(CONFIG_SPI_SPIDEV) += spidev.o 38 37 obj-$(CONFIG_SPI_TLE62X0) += tle62x0.o 39 38 # ... add above this line ...
drivers/spi/at25.c drivers/misc/eeprom/at25.c