auxdisplay: ht16k33: select framebuffer helper modules
authorRobin van der Gracht <robin@protonic.nl>
Wed, 30 Nov 2016 09:47:39 +0000 (10:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Nov 2016 12:04:31 +0000 (13:04 +0100)
The new driver caused a rare randconfig failure:

drivers/auxdisplay/ht16k33.o:(.data.ht16k33_fb_ops+0xc): undefined reference to `fb_sys_read'
drivers/auxdisplay/ht16k33.o:(.data.ht16k33_fb_ops+0x10): undefined reference to `fb_sys_write'

This selects the respective helper modules.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/auxdisplay/Kconfig

index a230ea797b92dc301c4f100fc0e7ddedf3d82d39..4ef4c5caed4f57bece96aa4efdae4a2ea34313f1 100644 (file)
@@ -131,6 +131,10 @@ config IMG_ASCII_LCD
 config HT16K33
        tristate "Holtek Ht16K33 LED controller with keyscan"
        depends on FB && OF && I2C && INPUT
+       select FB_SYS_FOPS
+       select FB_CFB_FILLRECT
+       select FB_CFB_COPYAREA
+       select FB_CFB_IMAGEBLIT
        select INPUT_MATRIXKMAP
        select FB_BACKLIGHT
        help