staging: ti-st: depends on RFKILL
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 6 May 2010 23:45:10 +0000 (16:45 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 21:15:34 +0000 (14:15 -0700)
Fix build errors.  st_kim.c uses rfkill*() interfaces, so it
should depend on RFKILL.

st_kim.c:(.text+0x291b21): undefined reference to `rfkill_unregister'
st_kim.c:(.text+0x291b31): undefined reference to `rfkill_destroy'
st_kim.c:(.text+0x291d8a): undefined reference to `rfkill_alloc'
st_kim.c:(.text+0x291db9): undefined reference to `rfkill_init_sw_state'
st_kim.c:(.text+0x291dc9): undefined reference to `rfkill_register'
st_kim.c:(.text+0x291e07): undefined reference to `rfkill_unregister'
(.text+0x291e85): undefined reference to `rfkill_set_hw_state'
(.text+0x292072): undefined reference to `rfkill_set_hw_state'
(.text+0x2920e1): undefined reference to `rfkill_set_hw_state

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ti-st/Kconfig

index 120e8db1368bfb8d562afa4cecf7add1c8f9c7ad..3ab204ddc29df2ac58a4524adfe044f80f980def 100644 (file)
@@ -5,6 +5,7 @@
 menu "Texas Instruments shared transport line discipline"
 config TI_ST
        tristate "shared transport core driver"
+       depends on RFKILL
        select FW_LOADER
        help
          This enables the shared transport core driver for TI