From 077fafd2decfdbfd9c36fd258d669d013e4d5023 Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Mon, 26 Jan 2009 21:19:53 +0100 Subject: [PATCH] --- yaml --- r: 130217 b: refs/heads/master c: 2e157888f132131f8877affd2785dcee4c227c1d h: refs/heads/master i: 130215: 4c6576fd843882d85e070f8881de29d5ec549e12 v: v3 --- [refs] | 2 +- trunk/drivers/i2c/chips/Kconfig | 11 ----------- trunk/drivers/i2c/chips/Makefile | 1 - trunk/drivers/misc/eeprom/Kconfig | 11 +++++++++++ trunk/drivers/misc/eeprom/Makefile | 1 + trunk/drivers/{i2c/chips => misc/eeprom}/eeprom.c | 0 6 files changed, 13 insertions(+), 13 deletions(-) rename trunk/drivers/{i2c/chips => misc/eeprom}/eeprom.c (100%) diff --git a/[refs] b/[refs] index 2b764f7bdd1c..626e590b828a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5195e5093bb7d30dbf057b260005cb4ab9761168 +refs/heads/master: 2e157888f132131f8877affd2785dcee4c227c1d diff --git a/trunk/drivers/i2c/chips/Kconfig b/trunk/drivers/i2c/chips/Kconfig index b58e77056b2e..c80312c1f382 100644 --- a/trunk/drivers/i2c/chips/Kconfig +++ b/trunk/drivers/i2c/chips/Kconfig @@ -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" diff --git a/trunk/drivers/i2c/chips/Makefile b/trunk/drivers/i2c/chips/Makefile index 5c14776eb76a..d142f238a2de 100644 --- a/trunk/drivers/i2c/chips/Makefile +++ b/trunk/drivers/i2c/chips/Makefile @@ -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 diff --git a/trunk/drivers/misc/eeprom/Kconfig b/trunk/drivers/misc/eeprom/Kconfig index 0b21778b7d13..3d31b6644245 100644 --- a/trunk/drivers/misc/eeprom/Kconfig +++ b/trunk/drivers/misc/eeprom/Kconfig @@ -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 diff --git a/trunk/drivers/misc/eeprom/Makefile b/trunk/drivers/misc/eeprom/Makefile index 72cd478eb53f..a3dad28f2724 100644 --- a/trunk/drivers/misc/eeprom/Makefile +++ b/trunk/drivers/misc/eeprom/Makefile @@ -1 +1,2 @@ obj-$(CONFIG_AT24) += at24.o +obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o diff --git a/trunk/drivers/i2c/chips/eeprom.c b/trunk/drivers/misc/eeprom/eeprom.c similarity index 100% rename from trunk/drivers/i2c/chips/eeprom.c rename to trunk/drivers/misc/eeprom/eeprom.c