Skip to contentSkip to conversation

Move eeprom_93cx6 from lib/ to drivers/misc/

PATCH New Ivo van Doorn 1 participant 1 message Mar 21, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Move eeprom_93cx6 from lib/ to drivers/misc/

As requested, this will move the eeprom_93cx6 from its location in lib/ to drivers/misc/
This second version uses correct identation for the --help-- line.

Signed-off-by Ivo van Doorn <[email protected]>

---

drivers/misc/Kconfig +8 -0
index 80b199f..4069fe1 100644
@@ -122,4 +122,12 @@ config SONY_LAPTOP
 
 	  Read <file:Documentation/sony-laptop.txt> for more information.
 
+config EEPROM_93CX6
+	tristate "EEPROM 93CX6 support"
+	---help---
+	  This is a driver for the EEPROM chipsets 93c46 and 93c66.
+	  The driver supports both read as well as write commands.
+
+	  When compiled as a module, this driver will be called "eeprom_93c6.ko".
+
 endmenu
drivers/misc/Makefile +1 -0
index 7793ccd..f65b835 100644
@@ -12,3 +12,4 @@ obj-$(CONFIG_TIFM_CORE)       	+= tifm_core.o
 obj-$(CONFIG_TIFM_7XX1)       	+= tifm_7xx1.o
 obj-$(CONFIG_SGI_IOC4)		+= ioc4.o
 obj-$(CONFIG_SONY_LAPTOP)	+= sony-laptop.o
+obj-$(CONFIG_EEPROM_93CX6)	+= eeprom_93cx6.o
drivers/misc/eeprom_93cx6.c renamed from lib/eeprom_93cx6.c +0 -0
similarity index 100%
rename from lib/eeprom_93cx6.c
rename to drivers/misc/eeprom_93cx6.c
lib/Kconfig +0 -8
index 0b275b7..8e91748 100644
@@ -50,14 +50,6 @@ config LIBCRC32C
 	  require M here.  See Castagnoli93.
 	  Module will be libcrc32c.
 
-config EEPROM_93CX6
-	tristate "EEPROM 93CX6 support"
-	---help---
-	This is a driver for the EEPROM chipsets 93c46 and 93c66.
-	The driver supports both read as well as write commands.
-
-	When compiled as a module, this driver will be called "eeprom_93c6.ko".
-
 config AUDIT_GENERIC
 	bool
 	depends on AUDIT && !AUDIT_ARCH
lib/Makefile +0 -2
index 71ae5be..d7edaf3 100644
@@ -56,8 +56,6 @@ obj-$(CONFIG_TEXTSEARCH_FSM) += ts_fsm.o
 obj-$(CONFIG_SMP) += percpu_counter.o
 obj-$(CONFIG_AUDIT_GENERIC) += audit.o
 
-obj-$(CONFIG_EEPROM_93CX6) += eeprom_93cx6.o
-
 obj-$(CONFIG_SWIOTLB) += swiotlb.o
 obj-$(CONFIG_FAULT_INJECTION) += fault-inject.o