Skip to contentSkip to conversation

Move eeprom_93cx6 from lib/ to drivers/misc/

PATCH Superseded Ivo van Doorn 2 participants 2 messages Mar 21, 2007

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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/

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

---

eeprom_93cx6.c was moved with:
cg-mv lib/eeprom_93cx6.c drivers/misc/eeprom_93cx6.c

drivers/misc/Kconfig +8 -0
index 80b199f..1af3e76 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
 
#1 lore raw
Quoted 15 lines · On Wed, 21 Mar 2007 11:37:50 +0100 Ivo van Doorn wrote:

As requested, this will move the eeprom_93cx6 from its location in lib/ to drivers/misc/

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

---

eeprom_93cx6.c was moved with:
cg-mv lib/eeprom_93cx6.c drivers/misc/eeprom_93cx6.c

drivers/misc/Kconfig +0 -0
index 80b199f..1af3e76 100644

drivers/misc/Kconfig config SONY_LAPTOP · line 123

Quoted 2 lines
drivers/misc/Kconfig +0 -0
@@ -122,4 +122,12 @@ config SONY_LAPTOP
 
 	  Read <file:Documentation/sony-laptop.txt> for more information.

Thanks. Looks fine except this one little nit:
The "---help---" line should only be indented by one tab. The text under it is indented correctly.

Quoted 46 lines
drivers/misc/Kconfig +8 -0
+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 -0
index 71ae5be..d7edaf3 100644

lib/Makefile obj-$(CONFIG_TEXTSEARCH_FSM) += ts_fsm.o · line 61

Quoted 8 lines
lib/Makefile +0 -2
@@ -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
 

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***