]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
video: fbdev: add the dependency of broadsheetfb in Kconfig
authorJia-Ju Bai <baijiaju1990@gmail.com>
Mon, 8 Oct 2018 10:57:34 +0000 (12:57 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 8 Oct 2018 10:57:34 +0000 (12:57 +0200)
broadsheetfb is a platform driver and it should not be used on x86.
It should be used only by single ARM PXA board so add the dependency
in Kconfig.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/Kconfig

index 591a13a597874ec008430f00d448d9aab4a7b847..d9ffb13cc87a0d43e8874f98fb522314945c4bab 100644 (file)
@@ -2240,7 +2240,7 @@ config FB_MX3
 
 config FB_BROADSHEET
        tristate "E-Ink Broadsheet/Epson S1D13521 controller support"
-       depends on FB
+       depends on FB && (ARCH_PXA || COMPILE_TEST)
        select FB_SYS_FILLRECT
        select FB_SYS_COPYAREA
        select FB_SYS_IMAGEBLIT