compal-laptop: Make it depend on CONFIG_RFKILL
authorIngo Molnar <mingo@elte.hu>
Tue, 2 Mar 2010 14:53:45 +0000 (09:53 -0500)
committerMatthew Garrett <mjg@redhat.com>
Tue, 2 Mar 2010 14:53:45 +0000 (09:53 -0500)
commit51c1410bd651609aafbcc3a2294df26a47bf6137
tree926ab8a5e1f3e2f0cf571e8ebfb8e545a043b547
parenta58db59a263d4232710af816f3857254b5823633
compal-laptop: Make it depend on CONFIG_RFKILL

-tip testing found this build failure (x86 randconfig):

 drivers/built-in.o: In function `setup_rfkill':
 compal-laptop.c:(.text+0x36abe8): undefined reference to `rfkill_alloc'
 compal-laptop.c:(.text+0x36abfc): undefined reference to `rfkill_register'
 compal-laptop.c:(.text+0x36ac30): undefined reference to `rfkill_alloc'
 compal-laptop.c:(.text+0x36ac44): undefined reference to `rfkill_register'

Which can happen with CONFIG_COMPAL_LAPTOP=y but COMPAL_LAPTOP=m.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/platform/x86/Kconfig