]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Blackfin: H8606: move 8250 irqflags to platform resources
authorMike Frysinger <vapier@gentoo.org>
Sun, 17 Oct 2010 08:59:16 +0000 (04:59 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 22 Oct 2010 20:30:01 +0000 (16:30 -0400)
Now that the common 8250 serial driver supports an "irqflags" field,
we don't need to patch in a custom define into the code.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/serial.h
arch/blackfin/mach-bf533/boards/H8606.c

index 94a4a12e3bf2c8ccbc54066c9af77a4058af3b22..a0cb0caff15241a41973f67b68756510b8bfe90e 100644 (file)
@@ -1,2 +1 @@
 #include <asm-generic/serial.h>
-#define SERIAL_EXTRA_IRQ_FLAGS IRQF_TRIGGER_HIGH
index 6dd466da405e562b507de044fdff4cb19cc52d62..2ce7b16faee181fed6789323e3b9763b1a4fa269 100644 (file)
@@ -347,6 +347,7 @@ static struct plat_serial8250_port serial8250_platform_data [] = {
                .membase = (void *)0x20200000,
                .mapbase = 0x20200000,
                .irq = IRQ_PF8,
+               .irqflags = IRQF_TRIGGER_HIGH,
                .flags = UPF_BOOT_AUTOCONF | UART_CONFIG_TYPE,
                .iotype = UPIO_MEM,
                .regshift = 1,
@@ -355,6 +356,7 @@ static struct plat_serial8250_port serial8250_platform_data [] = {
                .membase = (void *)0x20200010,
                .mapbase = 0x20200010,
                .irq = IRQ_PF8,
+               .irqflags = IRQF_TRIGGER_HIGH,
                .flags = UPF_BOOT_AUTOCONF | UART_CONFIG_TYPE,
                .iotype = UPIO_MEM,
                .regshift = 1,