lkml.org 
[lkml]   [2010]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH -next] x86/platform: classmate-laptop depends on RFKILL
    From: Randy Dunlap <randy.dunlap@oracle.com>

    classmate-laptop uses rfkill interfaces, so it should depend on
    RFKILL. Otherwise, when CONFIG_RFKILL=m, these build errors happen:

    classmate-laptop.c:(.text+0x54b4f2): undefined reference to `rfkill_unregister'
    classmate-laptop.c:(.text+0x54b508): undefined reference to `rfkill_destroy'
    classmate-laptop.c:(.text+0x54b71a): undefined reference to `rfkill_alloc'
    classmate-laptop.c:(.text+0x54b739): undefined reference to `rfkill_register'
    classmate-laptop.c:(.text+0x54b761): undefined reference to `rfkill_destroy'
    classmate-laptop.c:(.text+0x54b841): undefined reference to `rfkill_set_sw_state'

    Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
    Cc: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
    Cc: Daniel Oliveira Nascimento <don@syst.com.br>
    Cc: platform-driver-x86@vger.kernel.org
    Cc: Matthew Garrett <mjg@redhat.com>
    ---
    drivers/platform/x86/Kconfig | 1 +
    1 file changed, 1 insertion(+)

    --- linux-next-20100522.orig/drivers/platform/x86/Kconfig
    +++ linux-next-20100522/drivers/platform/x86/Kconfig
    @@ -520,6 +520,7 @@ config TOSHIBA_BT_RFKILL
    config ACPI_CMPC
    tristate "CMPC Laptop Extras"
    depends on X86 && ACPI
    + depends on RFKILL
    select INPUT
    select BACKLIGHT_CLASS_DEVICE
    default n

    \
     
     \ /
      Last update: 2010-05-24 00:19    [W:2.238 / U:0.584 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site