linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] Move eeprom_93cx6 from lib/ to drivers/misc/
@ 2007-03-21 18:57 Ivo van Doorn
  0 siblings, 0 replies; only message in thread
From: Ivo van Doorn @ 2007-03-21 18:57 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless, Andrew Morton, Randy Dunlap

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 <IvDoorn@gmail.com>

---

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 80b199f..4069fe1 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -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
diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
index 7793ccd..f65b835 100644
--- a/drivers/misc/Makefile
+++ b/drivers/misc/Makefile
@@ -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
diff --git a/lib/eeprom_93cx6.c b/drivers/misc/eeprom_93cx6.c
similarity index 100%
rename from lib/eeprom_93cx6.c
rename to drivers/misc/eeprom_93cx6.c
diff --git a/lib/Kconfig b/lib/Kconfig
index 0b275b7..8e91748 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -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
diff --git a/lib/Makefile b/lib/Makefile
index 71ae5be..d7edaf3 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-21 18:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-21 18:57 [PATCH v2] Move eeprom_93cx6 from lib/ to drivers/misc/ Ivo van Doorn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).