Skip to content

Commit f2eca58

Browse files
heicarstgregkh
authored andcommitted
drivers/serial: add GENERIC_HARDIRQS dependency
Since SERIAL_CORE needs GENERIC_HARDIRQS (see below) and most serial drivers select it, just add a GENERIC_HARDIRQS dependency to all serial drivers. Fixes the compile error below: drivers/tty/serial/serial_core.c: In function ‘uart_set_info’: drivers/tty/serial/serial_core.c:725:2: error: implicit declaration of function ‘irq_canonicalize’ Cc: Jiri Slaby <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 44a7541 commit f2eca58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
if TTY
66

77
menu "Serial drivers"
8-
depends on HAS_IOMEM
8+
depends on HAS_IOMEM && GENERIC_HARDIRQS
99

1010
source "drivers/tty/serial/8250/Kconfig"
1111

0 commit comments

Comments
 (0)