Skip to content

Commit b5b903f

Browse files
rddunlapojeda
authored andcommitted
auxdisplay: fix broken menu
Having the CHARLCD Kconfig symbol between "menuconfig AUXDISPLAY" and "if AUXDISPLAY" breaks the AUXDISPLAY submenus, so move the CHARLCD Kconfig symbol near the end of the file so that the menu display is continuous. Also include ARM_CHARLCD inside of the if AUXDISPLAY/endif block. Geert says that it should be there. Fixes: 39f8ea4 ("auxdisplay: charlcd: Extract character LCD core from misc/panel") Cc: [email protected] # v4.12 Cc: Geert Uytterhoeven <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Miguel Ojeda <[email protected]>
1 parent b34050f commit b5b903f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/auxdisplay/Kconfig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ menuconfig AUXDISPLAY
1414

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

17-
config CHARLCD
18-
tristate "Character LCD core support" if COMPILE_TEST
19-
2017
if AUXDISPLAY
2118

2219
config HD44780
@@ -157,8 +154,6 @@ config HT16K33
157154
Say yes here to add support for Holtek HT16K33, RAM mapping 16*8
158155
LED controller driver with keyscan.
159156

160-
endif # AUXDISPLAY
161-
162157
config ARM_CHARLCD
163158
bool "ARM Ltd. Character LCD Driver"
164159
depends on PLAT_VERSATILE
@@ -169,6 +164,8 @@ config ARM_CHARLCD
169164
line and the Linux version on the second line, but that's
170165
still useful.
171166

167+
endif # AUXDISPLAY
168+
172169
config PANEL
173170
tristate "Parallel port LCD/Keypad Panel support"
174171
depends on PARPORT
@@ -448,3 +445,6 @@ config PANEL_BOOT_MESSAGE
448445
printf()-formatted message is valid with newline and escape codes.
449446

450447
endif # PANEL
448+
449+
config CHARLCD
450+
tristate "Character LCD core support" if COMPILE_TEST

0 commit comments

Comments
 (0)