summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-rpc
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-03-01 16:54:27 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-03-24 09:37:36 +0000
commit18a66d5ae982c1e07d67a85e3723a1838caf79f6 (patch)
tree87fcd37cb093e5b843e1ca37e9df6c31c19515ec /arch/arm/mach-rpc
parent8c6d9d0a01d7b51b4d00365c87b05585a83055dd (diff)
downloadop-kernel-dev-18a66d5ae982c1e07d67a85e3723a1838caf79f6.zip
op-kernel-dev-18a66d5ae982c1e07d67a85e3723a1838caf79f6.tar.gz
ARM: riscpc: use definition for serial port interrupt
Rather than using a plain integer, use the definition already provided. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-rpc')
-rw-r--r--arch/arm/mach-rpc/riscpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-rpc/riscpc.c b/arch/arm/mach-rpc/riscpc.c
index 30baaa8..b4db100 100644
--- a/arch/arm/mach-rpc/riscpc.c
+++ b/arch/arm/mach-rpc/riscpc.c
@@ -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,
OpenPOWER on IntegriCloud