Loading arch/arm/mach-ep93xx/core.c +6 −40 Original line number Diff line number Diff line Loading @@ -279,48 +279,14 @@ static struct amba_pl010_data ep93xx_uart_data = { .set_mctrl = ep93xx_uart_set_mctrl, }; static struct amba_device uart1_device = { .dev = { .init_name = "apb:uart1", .platform_data = &ep93xx_uart_data, }, .res = { .start = EP93XX_UART1_PHYS_BASE, .end = EP93XX_UART1_PHYS_BASE + 0x0fff, .flags = IORESOURCE_MEM, }, .irq = { IRQ_EP93XX_UART1 }, .periphid = 0x00041010, }; static struct amba_device uart2_device = { .dev = { .init_name = "apb:uart2", .platform_data = &ep93xx_uart_data, }, .res = { .start = EP93XX_UART2_PHYS_BASE, .end = EP93XX_UART2_PHYS_BASE + 0x0fff, .flags = IORESOURCE_MEM, }, .irq = { IRQ_EP93XX_UART2 }, .periphid = 0x00041010, }; static AMBA_APB_DEVICE(uart1, "apb:uart1", 0x00041010, EP93XX_UART1_PHYS_BASE, { IRQ_EP93XX_UART1 }, &ep93xx_uart_data); static struct amba_device uart3_device = { .dev = { .init_name = "apb:uart3", .platform_data = &ep93xx_uart_data, }, .res = { .start = EP93XX_UART3_PHYS_BASE, .end = EP93XX_UART3_PHYS_BASE + 0x0fff, .flags = IORESOURCE_MEM, }, .irq = { IRQ_EP93XX_UART3 }, .periphid = 0x00041010, }; static AMBA_APB_DEVICE(uart2, "apb:uart2", 0x00041010, EP93XX_UART2_PHYS_BASE, { IRQ_EP93XX_UART2 }, &ep93xx_uart_data); static AMBA_APB_DEVICE(uart3, "apb:uart3", 0x00041010, EP93XX_UART3_PHYS_BASE, { IRQ_EP93XX_UART3 }, &ep93xx_uart_data); static struct resource ep93xx_rtc_resource[] = { { Loading Loading
arch/arm/mach-ep93xx/core.c +6 −40 Original line number Diff line number Diff line Loading @@ -279,48 +279,14 @@ static struct amba_pl010_data ep93xx_uart_data = { .set_mctrl = ep93xx_uart_set_mctrl, }; static struct amba_device uart1_device = { .dev = { .init_name = "apb:uart1", .platform_data = &ep93xx_uart_data, }, .res = { .start = EP93XX_UART1_PHYS_BASE, .end = EP93XX_UART1_PHYS_BASE + 0x0fff, .flags = IORESOURCE_MEM, }, .irq = { IRQ_EP93XX_UART1 }, .periphid = 0x00041010, }; static struct amba_device uart2_device = { .dev = { .init_name = "apb:uart2", .platform_data = &ep93xx_uart_data, }, .res = { .start = EP93XX_UART2_PHYS_BASE, .end = EP93XX_UART2_PHYS_BASE + 0x0fff, .flags = IORESOURCE_MEM, }, .irq = { IRQ_EP93XX_UART2 }, .periphid = 0x00041010, }; static AMBA_APB_DEVICE(uart1, "apb:uart1", 0x00041010, EP93XX_UART1_PHYS_BASE, { IRQ_EP93XX_UART1 }, &ep93xx_uart_data); static struct amba_device uart3_device = { .dev = { .init_name = "apb:uart3", .platform_data = &ep93xx_uart_data, }, .res = { .start = EP93XX_UART3_PHYS_BASE, .end = EP93XX_UART3_PHYS_BASE + 0x0fff, .flags = IORESOURCE_MEM, }, .irq = { IRQ_EP93XX_UART3 }, .periphid = 0x00041010, }; static AMBA_APB_DEVICE(uart2, "apb:uart2", 0x00041010, EP93XX_UART2_PHYS_BASE, { IRQ_EP93XX_UART2 }, &ep93xx_uart_data); static AMBA_APB_DEVICE(uart3, "apb:uart3", 0x00041010, EP93XX_UART3_PHYS_BASE, { IRQ_EP93XX_UART3 }, &ep93xx_uart_data); static struct resource ep93xx_rtc_resource[] = { { Loading