Subject: Re: [PATCH] drivers: misc: Remove MISC_DEVICES config option

From: Larry Finger <[email-masked]>
Date: Thu, 05 Jan 2012 18:08:21 -0600

Fabio,

Does this patch fix your problem?

Larry

Index: wireless-testing-new/drivers/misc/Kconfig
===================================================================
--- wireless-testing-new.orig/drivers/misc/Kconfig
+++ wireless-testing-new/drivers/misc/Kconfig
@@ -10,6 +10,17 @@ config SENSORS_LIS3LV02D
         select INPUT_POLLDEV
         default n

+# This selection is used by several wireless devices, and placing it outside
+# the MISC_DEVICES conditional allows those drivers to be built no matter
+# the MISC_DEVICES value.
+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.
+
+         If unsure, say N.
+
  menuconfig MISC_DEVICES
         bool "Misc devices"
         ---help---
Index: wireless-testing-new/drivers/misc/eeprom/Kconfig
===================================================================
--- wireless-testing-new.orig/drivers/misc/eeprom/Kconfig
+++ wireless-testing-new/drivers/misc/eeprom/Kconfig
@@ -62,14 +62,6 @@ config EEPROM_MAX6875
           will be called max6875.

-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.
-
-         If unsure, say N.
-
  config EEPROM_93XX46
         tristate "Microwire EEPROM 93XX46 support"
         depends on SPI && SYSFS