• Fabio Estevam's avatar
    drivers: misc: Remove MISC_DEVICES config option · 7c5763b8
    Fabio Estevam authored
    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>
    7c5763b8
Kconfig 1.83 KB