ARM: riscpc: use definition for serial port interrupt
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 1 Mar 2012 16:54:27 +0000 (16:54 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 24 Mar 2012 09:37:36 +0000 (09:37 +0000)
Rather than using a plain integer, use the definition already provided.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-rpc/riscpc.c

index 30baaa8b8a2f2e3294c3244713a1b278924af46a..b4db10045ae9e4abc2363d1ff2964a499bbaab76 100644 (file)
@@ -152,7 +152,7 @@ static struct platform_device kbd_device = {
 static struct plat_serial8250_port serial_platform_data[] = {
        {
                .mapbase        = 0x03010fe0,
-               .irq            = 10,
+               .irq            = IRQ_SERIALPORT,
                .uartclk        = 1843200,
                .regshift       = 2,
                .iotype         = UPIO_MEM,