[PATCH -mmotm] compal-laptop: depends on RKFILL

From: Randy Dunlap
Date: Thu Oct 16 2008 - 18:15:38 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

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 <randy.dunlap@xxxxxxxxxx>
cc: Cezary Jackiewicz <cezary.jackiewicz@xxxxxxxxx>
---
drivers/misc/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- mmotm-2008-1016-0052.orig/drivers/misc/Kconfig
+++ mmotm-2008-1016-0052/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:

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/