aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2018-10-08 06:57:36 -0400
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-10-08 06:57:36 -0400
commitaae3394ef0ef90cf00a21133357448385f13a5d4 (patch)
tree360559922699d2f09c4267d64c3ba0a65f272208
parent864eb1afc60cb43e7df879b97f8ca0d719bbb735 (diff)
fbdev: fix broken menu dependencies
The framebuffer options and devices menu is unintentionally split or broken because some items in it do not depend on FB (including several under omap and mmp). Fix this by moving FB_CMDLINE, FB_NOTIFY, and FB_CLPS711X_OLD to just before the FB Kconfig symbol definition and by moving the omap, omap2, and mmp menus to last, following FB_SM712. Also, the FB_VIA dependencies are duplicated by both being inside an "if FB_VIA/endif" block and "depends on FB_VIA", so drop the "depends on FB_VIA" lines since they are redundant. Fixes: ea6763c104c9 ("video/fbdev: Always built-in video= cmdline parsing") Fixes: 5ec9653806ba ("fbdev: Make fb-notify a no-op if CONFIG_FB=n") Fixes: ef74d46a4ef3 ("video: clps711x: Add new Cirrus Logic CLPS711X framebuffer driver") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
-rw-r--r--drivers/video/fbdev/Kconfig34
1 files changed, 16 insertions, 18 deletions
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index d9ffb13cc87a..cba0d13c7d31 100644
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -2,6 +2,18 @@
2# fbdev configuration 2# fbdev configuration
3# 3#
4 4
5config FB_CMDLINE
6 bool
7
8config FB_NOTIFY
9 bool
10
11config FB_CLPS711X_OLD
12 tristate
13 select FB_CFB_FILLRECT
14 select FB_CFB_COPYAREA
15 select FB_CFB_IMAGEBLIT
16
5menuconfig FB 17menuconfig FB
6 tristate "Support for frame buffer devices" 18 tristate "Support for frame buffer devices"
7 select FB_CMDLINE 19 select FB_CMDLINE
@@ -54,12 +66,6 @@ config FIRMWARE_EDID
54 combination with certain motherboards and monitors are known to 66 combination with certain motherboards and monitors are known to
55 suffer from this problem. 67 suffer from this problem.
56 68
57config FB_CMDLINE
58 bool
59
60config FB_NOTIFY
61 bool
62
63config FB_DDC 69config FB_DDC
64 tristate 70 tristate
65 depends on FB 71 depends on FB
@@ -329,12 +335,6 @@ config FB_ACORN
329 hardware found in Acorn RISC PCs and other ARM-based machines. If 335 hardware found in Acorn RISC PCs and other ARM-based machines. If
330 unsure, say N. 336 unsure, say N.
331 337
332config FB_CLPS711X_OLD
333 tristate
334 select FB_CFB_FILLRECT
335 select FB_CFB_COPYAREA
336 select FB_CFB_IMAGEBLIT
337
338config FB_CLPS711X 338config FB_CLPS711X
339 tristate "CLPS711X LCD support" 339 tristate "CLPS711X LCD support"
340 depends on FB && (ARCH_CLPS711X || COMPILE_TEST) 340 depends on FB && (ARCH_CLPS711X || COMPILE_TEST)
@@ -1456,7 +1456,6 @@ if FB_VIA
1456 1456
1457config FB_VIA_DIRECT_PROCFS 1457config FB_VIA_DIRECT_PROCFS
1458 bool "direct hardware access via procfs (DEPRECATED)(DANGEROUS)" 1458 bool "direct hardware access via procfs (DEPRECATED)(DANGEROUS)"
1459 depends on FB_VIA
1460 default n 1459 default n
1461 help 1460 help
1462 Allow direct hardware access to some output registers via procfs. 1461 Allow direct hardware access to some output registers via procfs.
@@ -1466,7 +1465,6 @@ config FB_VIA_DIRECT_PROCFS
1466 1465
1467config FB_VIA_X_COMPATIBILITY 1466config FB_VIA_X_COMPATIBILITY
1468 bool "X server compatibility" 1467 bool "X server compatibility"
1469 depends on FB_VIA
1470 default n 1468 default n
1471 help 1469 help
1472 This option reduces the functionality (power saving, ...) of the 1470 This option reduces the functionality (power saving, ...) of the
@@ -2308,10 +2306,6 @@ config FB_SIMPLE
2308 Configuration re: surface address, size, and format must be provided 2306 Configuration re: surface address, size, and format must be provided
2309 through device tree, or plain old platform data. 2307 through device tree, or plain old platform data.
2310 2308
2311source "drivers/video/fbdev/omap/Kconfig"
2312source "drivers/video/fbdev/omap2/Kconfig"
2313source "drivers/video/fbdev/mmp/Kconfig"
2314
2315config FB_SSD1307 2309config FB_SSD1307
2316 tristate "Solomon SSD1307 framebuffer support" 2310 tristate "Solomon SSD1307 framebuffer support"
2317 depends on FB && I2C 2311 depends on FB && I2C
@@ -2341,3 +2335,7 @@ config FB_SM712
2341 This driver is also available as a module. The module will be 2335 This driver is also available as a module. The module will be
2342 called sm712fb. If you want to compile it as a module, say M 2336 called sm712fb. If you want to compile it as a module, say M
2343 here and read <file:Documentation/kbuild/modules.txt>. 2337 here and read <file:Documentation/kbuild/modules.txt>.
2338
2339source "drivers/video/fbdev/omap/Kconfig"
2340source "drivers/video/fbdev/omap2/Kconfig"
2341source "drivers/video/fbdev/mmp/Kconfig"