lkml.org 
[lkml]   [2017]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] auxdisplay: fix broken menus
Date
From: Randy Dunlap <rdunlap@infradead.org>

Having the CHARLCD Kconfig symbol between "menuconfig AUXDISPLAY"
and "if AUXDISPLAY" breaks the AUXDISPLAY submenus, so move the
CHARLCD Kconfig symbol above the "menuconfig" so that the menu
display is continuous.

Fixes: 39f8ea46724e (auxdisplay: charlcd: Extract character LCD core from misc/panel)

Cc: stable@vger.kernel.org # v4.12
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Miguel Ojeda Sandonis <miguel.ojeda.sandonis@gmail.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
drivers/auxdisplay/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

--- lnx-414-rc1.orig/drivers/auxdisplay/Kconfig
+++ lnx-414-rc1/drivers/auxdisplay/Kconfig
@@ -5,6 +5,9 @@
# Auxiliary display drivers configuration.
#

+config CHARLCD
+ tristate "Character LCD core support" if COMPILE_TEST
+
menuconfig AUXDISPLAY
bool "Auxiliary Display support"
---help---
@@ -13,9 +16,6 @@ menuconfig AUXDISPLAY

If you say N, all options in this submenu will be skipped and disabled.

-config CHARLCD
- tristate "Character LCD core support" if COMPILE_TEST
-
if AUXDISPLAY

config HD44780

\
 
 \ /
  Last update: 2017-09-22 18:24    [W:0.072 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site