Skip to content

Commit

Permalink
counter: Fix menuconfig "Counter support" submenu entries disappearance
Browse files Browse the repository at this point in the history
The current placement of the I8254 Kconfig entry results in the
disappearance of the "Counter support" submenu items in menuconfig. Move
the I8254 above the menuconfig COUNTER entry to restore the intended
submenu behavior.

Fixes: d428487 ("counter: i8254: Introduce the Intel 8254 interface library module")
Reported-by: Jarkko Nikula <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Reviewed-by: Randy Dunlap <[email protected]>
Tested-by: Jarkko Nikula <[email protected]>
Reviewed-by: Jarkko Nikula <[email protected]>
Link: https://lore.kernel.org/r/[email protected]/
Signed-off-by: William Breathitt Gray <[email protected]>
  • Loading branch information
vilhelmgray authored and William Breathitt Gray committed Jun 21, 2023
1 parent d428487 commit 9b53a13
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions drivers/counter/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
# Counter devices
#

menuconfig COUNTER
tristate "Counter support"
help
This enables counter device support through the Generic Counter
interface. You only need to enable this, if you also want to enable
one or more of the counter device drivers below.

config I8254
tristate
select COUNTER
Expand All @@ -25,6 +18,13 @@ config I8254

If built as a module its name will be i8254.

menuconfig COUNTER
tristate "Counter support"
help
This enables counter device support through the Generic Counter
interface. You only need to enable this, if you also want to enable
one or more of the counter device drivers below.

if COUNTER

config 104_QUAD_8
Expand Down

0 comments on commit 9b53a13

Please sign in to comment.