[lkml]   [2010]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH mmotm] hid-picolcd: depends on LCD_CLASS_DEVICE
    From: Randy Dunlap <>

    HID_PICOLCD should depend on LCD_CLASS_DEVICE, otherwise the
    build fails when HID_PICOLCD=y and LCD_CLASS_DEVICE=m:

    hid-picolcd.c:(.text+0x84523f): undefined reference to `lcd_device_unregister'
    hid-picolcd.c:(.text+0x8478ab): undefined reference to `lcd_device_register'
    hid-picolcd.c:(.text+0x84c15f): undefined reference to `lcd_device_unregister'

    Signed-off-by: Randy Dunlap <>
    drivers/hid/Kconfig | 1 +
    1 file changed, 1 insertion(+)

    --- mmotm-2010-0405-1609.orig/drivers/hid/Kconfig
    +++ mmotm-2010-0405-1609/drivers/hid/Kconfig
    @@ -265,6 +265,7 @@ config HID_PETALYNX
    config HID_PICOLCD
    tristate "PicoLCD (graphic version)"
    depends on USB_HID
    + depends on LCD_CLASS_DEVICE
    select FB_DEFERRED_IO if FB
    select FB_SYS_FILLRECT if FB
    select FB_SYS_COPYAREA if FB

     \ /
      Last update: 2010-04-06 07:07    [W:0.020 / U:6.256 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site