forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vt: remove superfluous CONFIG_HW_CONSOLE
The config HW_CONSOLE is always identical to the config VT and is not visible in the kernel's build menuconfig. So, CONFIG_HW_CONSOLE is redundant. Replace all references to CONFIG_HW_CONSOLE with CONFIG_VT and remove CONFIG_HW_CONSOLE. Signed-off-by: Lukas Bulwahn <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Acked-by: Dmitry Torokhov <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information
Showing
7 changed files
with
10 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ MODULE_AUTHOR("Vojtech Pavlik <[email protected]>"); | |
MODULE_DESCRIPTION("Amiga keyboard driver"); | ||
MODULE_LICENSE("GPL"); | ||
|
||
#ifdef CONFIG_HW_CONSOLE | ||
#ifdef CONFIG_VT | ||
static unsigned char amikbd_keycode[0x78] __initdata = { | ||
[0] = KEY_GRAVE, | ||
[1] = KEY_1, | ||
|
@@ -148,9 +148,9 @@ static void __init amikbd_init_console_keymaps(void) | |
memcpy(key_maps[i], temp_map, sizeof(temp_map)); | ||
} | ||
} | ||
#else /* !CONFIG_HW_CONSOLE */ | ||
#else /* !CONFIG_VT */ | ||
static inline void amikbd_init_console_keymaps(void) {} | ||
#endif /* !CONFIG_HW_CONSOLE */ | ||
#endif /* !CONFIG_VT */ | ||
|
||
static const char *amikbd_messages[8] = { | ||
[0] = KERN_ALERT "amikbd: Ctrl-Amiga-Amiga reset warning!!\n", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters