Browse Source

i2c/chips: Move ds1682 to drivers/misc

As i2c/chips is deprecated, move ds1682 to a more apropriate location.
Build tested.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Wolfram Sang 15 years ago
parent
commit
dddc66ffa0
5 changed files with 11 additions and 11 deletions
  1. 0 10
      drivers/i2c/chips/Kconfig
  2. 0 1
      drivers/i2c/chips/Makefile
  3. 10 0
      drivers/misc/Kconfig
  4. 1 0
      drivers/misc/Makefile
  5. 0 0
      drivers/misc/ds1682.c

+ 0 - 10
drivers/i2c/chips/Kconfig

@@ -6,16 +6,6 @@
 
 
 menu "Miscellaneous I2C Chip support"
 menu "Miscellaneous I2C Chip support"
 
 
-config DS1682
-	tristate "Dallas DS1682 Total Elapsed Time Recorder with Alarm"
-	depends on EXPERIMENTAL
-	help
-	  If you say yes here you get support for Dallas Semiconductor
-	  DS1682 Total Elapsed Time Recorder.
-
-	  This driver can also be built as a module.  If so, the module
-	  will be called ds1682.
-
 config SENSORS_TSL2550
 config SENSORS_TSL2550
 	tristate "Taos TSL2550 ambient light sensor"
 	tristate "Taos TSL2550 ambient light sensor"
 	depends on EXPERIMENTAL
 	depends on EXPERIMENTAL

+ 0 - 1
drivers/i2c/chips/Makefile

@@ -10,7 +10,6 @@
 # * I/O expander drivers go to drivers/gpio
 # * I/O expander drivers go to drivers/gpio
 #
 #
 
 
-obj-$(CONFIG_DS1682)		+= ds1682.o
 obj-$(CONFIG_SENSORS_TSL2550)	+= tsl2550.o
 obj-$(CONFIG_SENSORS_TSL2550)	+= tsl2550.o
 
 
 ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)
 ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)

+ 10 - 0
drivers/misc/Kconfig

@@ -246,6 +246,16 @@ config EP93XX_PWM
 	  To compile this driver as a module, choose M here: the module will
 	  To compile this driver as a module, choose M here: the module will
 	  be called ep93xx_pwm.
 	  be called ep93xx_pwm.
 
 
+config DS1682
+	tristate "Dallas DS1682 Total Elapsed Time Recorder with Alarm"
+	depends on I2C && EXPERIMENTAL
+	help
+	  If you say yes here you get support for Dallas Semiconductor
+	  DS1682 Total Elapsed Time Recorder.
+
+	  This driver can also be built as a module.  If so, the module
+	  will be called ds1682.
+
 source "drivers/misc/c2port/Kconfig"
 source "drivers/misc/c2port/Kconfig"
 source "drivers/misc/eeprom/Kconfig"
 source "drivers/misc/eeprom/Kconfig"
 source "drivers/misc/cb710/Kconfig"
 source "drivers/misc/cb710/Kconfig"

+ 1 - 0
drivers/misc/Makefile

@@ -20,6 +20,7 @@ obj-$(CONFIG_SGI_GRU)		+= sgi-gru/
 obj-$(CONFIG_HP_ILO)		+= hpilo.o
 obj-$(CONFIG_HP_ILO)		+= hpilo.o
 obj-$(CONFIG_ISL29003)		+= isl29003.o
 obj-$(CONFIG_ISL29003)		+= isl29003.o
 obj-$(CONFIG_EP93XX_PWM)	+= ep93xx_pwm.o
 obj-$(CONFIG_EP93XX_PWM)	+= ep93xx_pwm.o
+obj-$(CONFIG_DS1682)		+= ds1682.o
 obj-$(CONFIG_C2PORT)		+= c2port/
 obj-$(CONFIG_C2PORT)		+= c2port/
 obj-y				+= eeprom/
 obj-y				+= eeprom/
 obj-y				+= cb710/
 obj-y				+= cb710/

+ 0 - 0
drivers/i2c/chips/ds1682.c → drivers/misc/ds1682.c