diff options
author | Fabio Estevam <festevam@gmail.com> | 2012-01-23 23:11:25 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-24 19:24:02 -0500 |
commit | 7c5763b8453a94871d356f20df30f350f8631e8b (patch) | |
tree | b1b3c1fc73c8bc41c47a5d5c07b4f7034d9645e2 /drivers/misc/Kconfig | |
parent | ecd9d34a674b671f09f55b3365d852f75a1f598b (diff) |
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>
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r-- | drivers/misc/Kconfig | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 6a1a092db146..c7795096d43b 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -2,24 +2,14 @@ | |||
2 | # Misc strange devices | 2 | # Misc strange devices |
3 | # | 3 | # |
4 | 4 | ||
5 | # This one has to live outside of the MISC_DEVICES conditional, | 5 | menu "Misc devices" |
6 | # because it may be selected by drivers/platform/x86/hp_accel. | 6 | |
7 | config SENSORS_LIS3LV02D | 7 | config SENSORS_LIS3LV02D |
8 | tristate | 8 | tristate |
9 | depends on INPUT | 9 | depends on INPUT |
10 | select INPUT_POLLDEV | 10 | select INPUT_POLLDEV |
11 | default n | 11 | default n |
12 | 12 | ||
13 | menuconfig MISC_DEVICES | ||
14 | bool "Misc devices" | ||
15 | ---help--- | ||
16 | Say Y here to get to see options for device drivers from various | ||
17 | different categories. This option alone does not add any kernel code. | ||
18 | |||
19 | If you say N, all options in this submenu will be skipped and disabled. | ||
20 | |||
21 | if MISC_DEVICES | ||
22 | |||
23 | config AD525X_DPOT | 13 | config AD525X_DPOT |
24 | tristate "Analog Devices Digital Potentiometers" | 14 | tristate "Analog Devices Digital Potentiometers" |
25 | depends on (I2C || SPI) && SYSFS | 15 | depends on (I2C || SPI) && SYSFS |
@@ -516,5 +506,4 @@ source "drivers/misc/ti-st/Kconfig" | |||
516 | source "drivers/misc/lis3lv02d/Kconfig" | 506 | source "drivers/misc/lis3lv02d/Kconfig" |
517 | source "drivers/misc/carma/Kconfig" | 507 | source "drivers/misc/carma/Kconfig" |
518 | source "drivers/misc/altera-stapl/Kconfig" | 508 | source "drivers/misc/altera-stapl/Kconfig" |
519 | 509 | endmenu | |
520 | endif # MISC_DEVICES | ||