aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-11-27 09:33:11 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-12-15 08:41:22 -0500
commit5b833fea4377577eafecb888141a05470922ef25 (patch)
treeabce76c59b111cb18d11ed3067039ee8e4ed35f4 /drivers/video/fbdev/Kconfig
parent34280340b1dc74c521e636f45cd728f9abf56ee2 (diff)
fbdev: sis: enforce selection of at least one backend
The sis framebuffer driver complains with a compile-time warning if neither the FB_SIS_300 nor FB_SIS_315 symbols are selected: drivers/video/fbdev/sis/sis_main.c:61:2: warning: #warning Neither CONFIG_FB_SIS_300 nor CONFIG_FB_SIS_315 is se This is reasonable because it doesn't work in that case, but it's also annoying for randconfig builds and is one of the most common warnings I'm seeing on ARM now. This changes the Kconfig logic to prevent the silly configuration, by always selecting the FB_SIS_300 variant if the other one is not set. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/Kconfig')
-rw-r--r--drivers/video/fbdev/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index 9c5d884294ff..1727a964aea5 100644
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -1506,6 +1506,7 @@ config FB_SIS
1506 select FB_CFB_COPYAREA 1506 select FB_CFB_COPYAREA
1507 select FB_CFB_IMAGEBLIT 1507 select FB_CFB_IMAGEBLIT
1508 select FB_BOOT_VESA_SUPPORT if FB_SIS = y 1508 select FB_BOOT_VESA_SUPPORT if FB_SIS = y
1509 select FB_SIS_300 if !FB_SIS_315
1509 help 1510 help
1510 This is the frame buffer device driver for the SiS 300, 315, 330 1511 This is the frame buffer device driver for the SiS 300, 315, 330
1511 and 340 series as well as XGI V3XT, V5, V8, Z7 graphics chipsets. 1512 and 340 series as well as XGI V3XT, V5, V8, Z7 graphics chipsets.