From: Randy Dunlap compal-laptop uses rfkill_*() so needs to depend on RFKILL (or select it). drivers/built-in.o: In function `compal_rfkill': compal-laptop.c:(.init.text+0x9ac3): undefined reference to `rfkill_allocate' compal-laptop.c:(.init.text+0x9afa): undefined reference to `rfkill_register' compal-laptop.c:(.init.text+0x9b17): undefined reference to `rfkill_free' drivers/built-in.o: In function `compal_cleanup': compal-laptop.c:(.exit.text+0x912): undefined reference to `rfkill_unregister' compal-laptop.c:(.exit.text+0x92a): undefined reference to `rfkill_unregister' Signed-off-by: Randy Dunlap Cc: Cezary Jackiewicz Signed-off-by: Andrew Morton --- drivers/misc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/misc/Kconfig~acpi-compal-laptop-use-rfkill-switch-subsystem-fix drivers/misc/Kconfig --- a/drivers/misc/Kconfig~acpi-compal-laptop-use-rfkill-switch-subsystem-fix +++ a/drivers/misc/Kconfig @@ -263,6 +263,7 @@ config COMPAL_LAPTOP depends on X86 depends on ACPI_EC depends on BACKLIGHT_CLASS_DEVICE + depends on RFKILL ---help--- This is a driver for laptops built by Compal: _