]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: pxa: select both FB and FB_W100 for eseries
authorArnd Bergmann <arnd@arndb.de>
Wed, 19 Mar 2014 17:41:37 +0000 (18:41 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 27 Jul 2017 20:57:55 +0000 (22:57 +0200)
commit62ea100faef99f9be1cd0ec4da2a7ada9c5014fb
tree4d0ddac7d1c256236c21b4db85906f8b7b12f326
parent6547e6f078c848aed703840dc2ef5ba39bf7059e
ARM: pxa: select both FB and FB_W100 for eseries

We get a link error trying to access the w100fb_gpio_read/write
functions from the platform when the driver is a loadable module
or not built-in, so the platform already uses 'select' to hard-enable
the driver.

However, that fails if the framebuffer subsystem is disabled
altogether.

I've considered various ways to fix this properly, but they
all seem like too much work or too risky, so this simply
adds another 'select' to force the subsystem on as well.

Fixes: 9fd25e031b68 ("ARM: pxa: PXA_ESERIES depends on FB_W100.")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-pxa/Kconfig