Skip to contentSkip to conversation

compal-laptop: depends on RKFILL

PATCH New Randy Dunlap 1 participant 1 message Oct 16, 2008 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 compal-laptop: depends on RKFILL

From: Randy Dunlap <[email protected]>

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'

cc Cezary Jackiewicz <[email protected]>
---
 drivers/misc/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/misc/Kconfig +1 -0
@@ -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: