Selaa lähdekoodia

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>
Russell King 13 vuotta sitten
vanhempi
commit
18a66d5ae9
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      arch/arm/mach-rpc/riscpc.c

+ 1 - 1
arch/arm/mach-rpc/riscpc.c

@@ -152,7 +152,7 @@ static struct platform_device kbd_device = {
 static struct plat_serial8250_port serial_platform_data[] = {
 static struct plat_serial8250_port serial_platform_data[] = {
 	{
 	{
 		.mapbase	= 0x03010fe0,
 		.mapbase	= 0x03010fe0,
-		.irq		= 10,
+		.irq		= IRQ_SERIALPORT,
 		.uartclk	= 1843200,
 		.uartclk	= 1843200,
 		.regshift	= 2,
 		.regshift	= 2,
 		.iotype		= UPIO_MEM,
 		.iotype		= UPIO_MEM,