Skip to content

Commit

Permalink
drivers/serial: add GENERIC_HARDIRQS dependency
Browse files Browse the repository at this point in the history
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 <jslaby@suse.cz>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Heiko Carstens authored and Greg Kroah-Hartman committed Feb 8, 2013
1 parent 44a7541 commit f2eca58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
if TTY

menu "Serial drivers"
depends on HAS_IOMEM
depends on HAS_IOMEM && GENERIC_HARDIRQS

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

Expand Down

0 comments on commit f2eca58

Please sign in to comment.