tty: serial: imx: remove the use of MXC_INTERNAL_IRQS
authorShawn Guo <shawn.guo@linaro.org>
Thu, 14 Jun 2012 02:58:54 +0000 (10:58 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 1 Jul 2012 13:59:07 +0000 (21:59 +0800)
commit1ee8f65b5689504b98dacb6641fc8b2cc5618ad4
tree93ca9adcefc4a3510198239ab808ddabb9bfd107
parent69fcbc74bb7a8b3c86e15f27b74ee512633ffcc6
tty: serial: imx: remove the use of MXC_INTERNAL_IRQS

As the part of the effort to enable SPARE_IRQ for imx platform,
the macro MXC_INTERNAL_IRQS will be removed.  The imx serial driver
has a references to it for a decision on flags of request_irq call
based on rtsirq is beyond MXC_INTERNAL_IRQS.  However the searching
on imx platform code tells that rtsirq will never be beyond
MXC_INTERNAL_IRQS.  That said, the check, consequently the reference
to MXC_INTERNAL_IRQS are not needed, so remove them.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: linux-serial@vger.kernel.org
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
drivers/tty/serial/imx.c