]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 11 Nov 2017 13:34:27 +0000 (13:34 +0000)
commit 1d20d8a9fce8f1e2ef00a0f3d068fa18d59ddf8f upstream.

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: 82427de2c7c3 ("ARM: pxa: PXA_ESERIES depends on FB_W100.")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/arm/mach-pxa/Kconfig

index 61d3c72ded84d111e973d4a1dd4e3ab87f487b84..c4100aa4fda836e08e1b028784637831b8dd9ebd 100644 (file)
@@ -563,6 +563,7 @@ config ARCH_PXA_ESERIES
        bool "PXA based Toshiba e-series PDAs"
        select PXA25x
        select FB_W100
+       select FB
 
 config MACH_E330
        bool "Toshiba e330"