mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
ath79: remove ATH79_MISC_IRQ_* defines
Use the ATH79_MISC_IRQ() macro instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/4930/ Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
committed by
John Crispin
parent
7e69c10a8e
commit
fd633cf1cf
@@ -36,7 +36,7 @@ static struct resource ath79_uart_resources[] = {
|
||||
static struct plat_serial8250_port ath79_uart_data[] = {
|
||||
{
|
||||
.mapbase = AR71XX_UART_BASE,
|
||||
.irq = ATH79_MISC_IRQ_UART,
|
||||
.irq = ATH79_MISC_IRQ(3),
|
||||
.flags = AR71XX_UART_FLAGS,
|
||||
.iotype = UPIO_MEM32,
|
||||
.regshift = 2,
|
||||
@@ -62,8 +62,8 @@ static struct resource ar933x_uart_resources[] = {
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.start = ATH79_MISC_IRQ_UART,
|
||||
.end = ATH79_MISC_IRQ_UART,
|
||||
.start = ATH79_MISC_IRQ(3),
|
||||
.end = ATH79_MISC_IRQ(3),
|
||||
.flags = IORESOURCE_IRQ,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user