OSDN Git Service

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 30baaa8..b4db100 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,