lkml.org 
[lkml]   [2011]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH -rc1] msi-laptop: fix config-dependent build error
    From: Randy Dunlap <randy.dunlap@oracle.com>

    The msi-laptop driver uses input_*() and sparse_keymap_*() interfaces.
    It should depend on the INPUT subsystem being present and select
    INPUT_SPARSEKMAP so that those interfaces are present.

    ERROR: "input_free_device" [drivers/platform/x86/msi-laptop.ko] undefined!
    ERROR: "input_register_device" [drivers/platform/x86/msi-laptop.ko] undefined!
    ERROR: "sparse_keymap_setup" [drivers/platform/x86/msi-laptop.ko] undefined!
    ERROR: "input_allocate_device" [drivers/platform/x86/msi-laptop.ko] undefined!
    ERROR: "sparse_keymap_report_event" [drivers/platform/x86/msi-laptop.ko] undefined!
    ERROR: "input_unregister_device" [drivers/platform/x86/msi-laptop.ko] undefined!
    ERROR: "sparse_keymap_free" [drivers/platform/x86/msi-laptop.ko] undefined!

    Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
    Cc: Matthew Garrett <mjg@redhat.com>
    Cc: "Lee, Chun-Yi" <jlee@novell.com>
    ---
    drivers/platform/x86/Kconfig | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    --- lnx-2639-rc1.orig/drivers/platform/x86/Kconfig
    +++ lnx-2639-rc1/drivers/platform/x86/Kconfig
    @@ -187,7 +187,8 @@ config MSI_LAPTOP
    depends on ACPI
    depends on BACKLIGHT_CLASS_DEVICE
    depends on RFKILL
    - depends on SERIO_I8042
    + depends on INPUT && SERIO_I8042
    + select INPUT_SPARSEKMAP
    ---help---
    This is a driver for laptops built by MSI (MICRO-STAR
    INTERNATIONAL):

    \
     
     \ /
      Last update: 2011-03-31 00:23    [W:0.024 / U:0.048 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site