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

i2c: Move old eeprom driver to /drivers/misc/eeprom

Update Kconfig text to specify this driver as I2C.

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
2e157888 5195e509

+12 -12
-11
drivers/i2c/chips/Kconfig
··· 16 16 This driver can also be built as a module. If so, the module 17 17 will be called ds1682. 18 18 19 - config SENSORS_EEPROM 20 - tristate "EEPROM reader" 21 - depends on EXPERIMENTAL 22 - help 23 - If you say yes here you get read-only access to the EEPROM data 24 - available on modern memory DIMMs and Sony Vaio laptops. Such 25 - EEPROMs could theoretically be available on other devices as well. 26 - 27 - This driver can also be built as a module. If so, the module 28 - will be called eeprom. 29 - 30 19 config SENSORS_PCF8574 31 20 tristate "Philips PCF8574 and PCF8574A (DEPRECATED)" 32 21 depends on EXPERIMENTAL && GPIO_PCF857X = "n"
-1
drivers/i2c/chips/Makefile
··· 11 11 # 12 12 13 13 obj-$(CONFIG_DS1682) += ds1682.o 14 - obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o 15 14 obj-$(CONFIG_SENSORS_MAX6875) += max6875.o 16 15 obj-$(CONFIG_SENSORS_PCA9539) += pca9539.o 17 16 obj-$(CONFIG_SENSORS_PCF8574) += pcf8574.o
drivers/i2c/chips/eeprom.c drivers/misc/eeprom/eeprom.c
+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 SENSORS_EEPROM 30 + tristate "Old I2C EEPROM reader" 31 + depends on I2C && EXPERIMENTAL 32 + help 33 + If you say yes here you get read-only access to the EEPROM data 34 + available on modern memory DIMMs and Sony Vaio laptops via I2C. Such 35 + EEPROMs could theoretically be available on other devices as well. 36 + 37 + This driver can also be built as a module. If so, the module 38 + will be called eeprom. 39 + 29 40 endmenu
+1
drivers/misc/eeprom/Makefile
··· 1 1 obj-$(CONFIG_AT24) += at24.o 2 + obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o