]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
i2c: Move old eeprom driver to /drivers/misc/eeprom
authorWolfram Sang <w.sang@pengutronix.de>
Mon, 26 Jan 2009 20:19:53 +0000 (21:19 +0100)
committerJean Delvare <khali@linux-fr.org>
Mon, 26 Jan 2009 20:19:53 +0000 (21:19 +0100)
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>
drivers/i2c/chips/Kconfig
drivers/i2c/chips/Makefile
drivers/misc/eeprom/Kconfig
drivers/misc/eeprom/Makefile
drivers/misc/eeprom/eeprom.c [moved from drivers/i2c/chips/eeprom.c with 100% similarity]

index b58e77056b2e149b5145dda9b174dde7388882e7..c80312c1f38278051f7209745bf170f5d4f35b4e 100644 (file)
@@ -16,17 +16,6 @@ config DS1682
          This driver can also be built as a module.  If so, the module
          will be called ds1682.
 
-config SENSORS_EEPROM
-       tristate "EEPROM reader"
-       depends on EXPERIMENTAL
-       help
-         If you say yes here you get read-only access to the EEPROM data
-         available on modern memory DIMMs and Sony Vaio laptops.  Such
-         EEPROMs could theoretically be available on other devices as well.
-
-         This driver can also be built as a module.  If so, the module
-         will be called eeprom.
-
 config SENSORS_PCF8574
        tristate "Philips PCF8574 and PCF8574A (DEPRECATED)"
        depends on EXPERIMENTAL && GPIO_PCF857X = "n"
index 5c14776eb76a957d92b23c95a0a9aa8863fe1d5a..d142f238a2de43f8af6169811b9a64e86803a9a2 100644 (file)
@@ -11,7 +11,6 @@
 #
 
 obj-$(CONFIG_DS1682)           += ds1682.o
-obj-$(CONFIG_SENSORS_EEPROM)   += eeprom.o
 obj-$(CONFIG_SENSORS_MAX6875)  += max6875.o
 obj-$(CONFIG_SENSORS_PCA9539)  += pca9539.o
 obj-$(CONFIG_SENSORS_PCF8574)  += pcf8574.o
index 0b21778b7d13d0d8288fa5b45942c3a90fce0135..3d31b66442454ee223dea66178aa89bc4249d155 100644 (file)
@@ -26,4 +26,15 @@ config AT24
          This driver can also be built as a module.  If so, the module
          will be called at24.
 
+config SENSORS_EEPROM
+       tristate "Old I2C EEPROM reader"
+       depends on I2C && EXPERIMENTAL
+       help
+         If you say yes here you get read-only access to the EEPROM data
+         available on modern memory DIMMs and Sony Vaio laptops via I2C. Such
+         EEPROMs could theoretically be available on other devices as well.
+
+         This driver can also be built as a module.  If so, the module
+         will be called eeprom.
+
 endmenu
index 72cd478eb53fc1beb6a18380e60a6d6fa52e6483..a3dad28f2724eff4210d6f6c96f870056af29bdc 100644 (file)
@@ -1 +1,2 @@
 obj-$(CONFIG_AT24)             += at24.o
+obj-$(CONFIG_SENSORS_EEPROM)   += eeprom.o