Skip to content

Commit c1367ee

Browse files
rddunlapgeertu
authored andcommitted
m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning
Since the code for ATARI_KBD_CORE does not use drivers/input/keyboard/ code, just move ATARI_KBD_CORE to arch/m68k/Kconfig.machine to remove the dependency on INPUT_KEYBOARD. Removes this kconfig warning: WARNING: unmet direct dependencies detected for ATARI_KBD_CORE Depends on [n]: !UML && INPUT [=y] && INPUT_KEYBOARD [=n] Selected by [y]: - MOUSE_ATARI [=y] && !UML && INPUT [=y] && INPUT_MOUSE [=y] && ATARI [=y] Fixes: c04cb85 ("m68k: Atari keyboard and mouse support.") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org> Suggested-by: Michael Schmitz <schmitzmic@gmail.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Link: https://lore.kernel.org/r/20210527001251.8529-1-rdunlap@infradead.org Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
1 parent b44bf94 commit c1367ee

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

arch/m68k/Kconfig.machine

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ config ATARI
2525
this kernel on an Atari, say Y here and browse the material
2626
available in <file:Documentation/m68k>; otherwise say N.
2727

28+
config ATARI_KBD_CORE
29+
bool
30+
2831
config MAC
2932
bool "Macintosh support"
3033
depends on MMU

drivers/input/keyboard/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ config KEYBOARD_AMIGA
6767
To compile this driver as a module, choose M here: the
6868
module will be called amikbd.
6969

70-
config ATARI_KBD_CORE
71-
bool
72-
7370
config KEYBOARD_APPLESPI
7471
tristate "Apple SPI keyboard and trackpad"
7572
depends on ACPI && EFI

0 commit comments

Comments
 (0)