drivers: misc: Remove MISC_DEVICES config option
authorFabio Estevam <festevam@gmail.com>
Tue, 24 Jan 2012 04:11:25 +0000 (02:11 -0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 25 Jan 2012 00:24:02 +0000 (16:24 -0800)
commit7c5763b8453a94871d356f20df30f350f8631e8b
treeb1b3c1fc73c8bc41c47a5d5c07b4f7034d9645e2
parentecd9d34a674b671f09f55b3365d852f75a1f598b
drivers: misc: Remove MISC_DEVICES config option

MISC_DEVICES option alone does not select any kernel code and can cause dependency build warnings, such as:

warning: (KS8851 && AX88796_93CX6 && RTL8180 && RTL8187 && ADM8211 && RT2400PCI && RT2500PCI && RT61PCI && RT2800PCI && R8187SE) selects EEPROM_93CX6 which has unmet direct dependencies (MISC_DEVICES)

As the current drivers/misc/Kconfig stands, it is only possible to select the drivers below if MISC_DEVICES option is selected:

source "drivers/misc/c2port/Kconfig"
source "drivers/misc/eeprom/Kconfig"
source "drivers/misc/cb710/Kconfig"
source "drivers/misc/iwmc3200top/Kconfig"
source "drivers/misc/ti-st/Kconfig"
source "drivers/misc/lis3lv02d/Kconfig"
source "drivers/misc/carma/Kconfig"
source "drivers/misc/altera-stapl/Kconfig"

So remove MISC_DEVICES option so that nothing is dependant on it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/Kconfig
drivers/mmc/host/Kconfig
drivers/net/ethernet/micrel/Kconfig