Commit 7c5763b8 authored by Fabio Estevam's avatar Fabio Estevam Committed by Greg Kroah-Hartman

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: default avatarFabio Estevam <fabio.estevam@freescale.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ecd9d34a
...@@ -2,24 +2,14 @@ ...@@ -2,24 +2,14 @@
# Misc strange devices # Misc strange devices
# #
# This one has to live outside of the MISC_DEVICES conditional, menu "Misc devices"
# because it may be selected by drivers/platform/x86/hp_accel.
config SENSORS_LIS3LV02D config SENSORS_LIS3LV02D
tristate tristate
depends on INPUT depends on INPUT
select INPUT_POLLDEV select INPUT_POLLDEV
default n default n
menuconfig MISC_DEVICES
bool "Misc devices"
---help---
Say Y here to get to see options for device drivers from various
different categories. This option alone does not add any kernel code.
If you say N, all options in this submenu will be skipped and disabled.
if MISC_DEVICES
config AD525X_DPOT config AD525X_DPOT
tristate "Analog Devices Digital Potentiometers" tristate "Analog Devices Digital Potentiometers"
depends on (I2C || SPI) && SYSFS depends on (I2C || SPI) && SYSFS
...@@ -516,5 +506,4 @@ source "drivers/misc/ti-st/Kconfig" ...@@ -516,5 +506,4 @@ source "drivers/misc/ti-st/Kconfig"
source "drivers/misc/lis3lv02d/Kconfig" source "drivers/misc/lis3lv02d/Kconfig"
source "drivers/misc/carma/Kconfig" source "drivers/misc/carma/Kconfig"
source "drivers/misc/altera-stapl/Kconfig" source "drivers/misc/altera-stapl/Kconfig"
endmenu
endif # MISC_DEVICES
...@@ -477,7 +477,6 @@ config MMC_SDHI ...@@ -477,7 +477,6 @@ config MMC_SDHI
config MMC_CB710 config MMC_CB710
tristate "ENE CB710 MMC/SD Interface support" tristate "ENE CB710 MMC/SD Interface support"
depends on PCI depends on PCI
select MISC_DEVICES
select CB710_CORE select CB710_CORE
help help
This option enables support for MMC/SD part of ENE CB710/720 Flash This option enables support for MMC/SD part of ENE CB710/720 Flash
......
...@@ -42,7 +42,6 @@ config KS8851 ...@@ -42,7 +42,6 @@ config KS8851
select NET_CORE select NET_CORE
select MII select MII
select CRC32 select CRC32
select MISC_DEVICES
select EEPROM_93CX6 select EEPROM_93CX6
---help--- ---help---
SPI driver for Micrel KS8851 SPI attached network chip. SPI driver for Micrel KS8851 SPI attached network chip.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment