drivers/serial: add GENERIC_HARDIRQS dependency
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 6 Feb 2013 16:24:03 +0000 (17:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Feb 2013 20:24:57 +0000 (12:24 -0800)
commitf2eca58f2ad92ed20cc96b765a18525d5ace2d19
treed9008784180efaa71f67aed41f0158f5ca0edb39
parent44a754117a53cf965d9e17767463a52c9d9ccbb3
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 <jslaby@suse.cz>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig