diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-17 04:59:16 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-10-22 16:30:01 -0400 |
commit | 49e00edbb77b44574a235032774b15656faa7cec (patch) | |
tree | 768775c1b46c5515608e77fe0bb9f68f81e9610a /arch/blackfin | |
parent | 56b4f07a08ac4188ba055d194a105a7bd833cea3 (diff) |
Blackfin: H8606: move 8250 irqflags to platform resources
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>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/include/asm/serial.h | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/H8606.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/serial.h b/arch/blackfin/include/asm/serial.h index 94a4a12e3bf2..a0cb0caff152 100644 --- a/arch/blackfin/include/asm/serial.h +++ b/arch/blackfin/include/asm/serial.h | |||
@@ -1,2 +1 @@ | |||
1 | #include <asm-generic/serial.h> | #include <asm-generic/serial.h> | |
2 | #define SERIAL_EXTRA_IRQ_FLAGS IRQF_TRIGGER_HIGH | ||
diff --git a/arch/blackfin/mach-bf533/boards/H8606.c b/arch/blackfin/mach-bf533/boards/H8606.c index 6dd466da405e..2ce7b16faee1 100644 --- a/arch/blackfin/mach-bf533/boards/H8606.c +++ b/arch/blackfin/mach-bf533/boards/H8606.c | |||
@@ -347,6 +347,7 @@ static struct plat_serial8250_port serial8250_platform_data [] = { | |||
347 | .membase = (void *)0x20200000, | 347 | .membase = (void *)0x20200000, |
348 | .mapbase = 0x20200000, | 348 | .mapbase = 0x20200000, |
349 | .irq = IRQ_PF8, | 349 | .irq = IRQ_PF8, |
350 | .irqflags = IRQF_TRIGGER_HIGH, | ||
350 | .flags = UPF_BOOT_AUTOCONF | UART_CONFIG_TYPE, | 351 | .flags = UPF_BOOT_AUTOCONF | UART_CONFIG_TYPE, |
351 | .iotype = UPIO_MEM, | 352 | .iotype = UPIO_MEM, |
352 | .regshift = 1, | 353 | .regshift = 1, |
@@ -355,6 +356,7 @@ static struct plat_serial8250_port serial8250_platform_data [] = { | |||
355 | .membase = (void *)0x20200010, | 356 | .membase = (void *)0x20200010, |
356 | .mapbase = 0x20200010, | 357 | .mapbase = 0x20200010, |
357 | .irq = IRQ_PF8, | 358 | .irq = IRQ_PF8, |
359 | .irqflags = IRQF_TRIGGER_HIGH, | ||
358 | .flags = UPF_BOOT_AUTOCONF | UART_CONFIG_TYPE, | 360 | .flags = UPF_BOOT_AUTOCONF | UART_CONFIG_TYPE, |
359 | .iotype = UPIO_MEM, | 361 | .iotype = UPIO_MEM, |
360 | .regshift = 1, | 362 | .regshift = 1, |