]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev: fix broken menu dependencies
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 8 Oct 2018 10:57:36 +0000 (12:57 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 8 Oct 2018 10:57:36 +0000 (12:57 +0200)
commit38a6f984ed1dee500ee2d50b208c737053267026
tree360559922699d2f09c4267d64c3ba0a65f272208
parentfe5b7e5c3d0d3ace96bcafb8793e738452648e8b
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: 4d16f77dac9b ("video/fbdev: Always built-in video= cmdline parsing")
Fixes: 0d9ac6b2c8c0 ("fbdev: Make fb-notify a no-op if CONFIG_FB=n")
Fixes: b1dad003f99a ("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>
drivers/video/fbdev/Kconfig