From: Russell King Date: Sun, 18 Dec 2011 15:20:05 +0000 (+0000) Subject: ARM: amba: netx: use common amba device initializers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d948b454b03380d94d8c1a9e86738f6c09ac077c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: amba: netx: use common amba device initializers Signed-off-by: Russell King --- diff --git a/arch/arm/mach-netx/fb.c b/arch/arm/mach-netx/fb.c index eda856c445e0..2cdf6ef69bee 100644 --- a/arch/arm/mach-netx/fb.c +++ b/arch/arm/mach-netx/fb.c @@ -92,18 +92,7 @@ void clk_put(struct clk *clk) { } -static struct amba_device fb_device = { - .dev = { - .init_name = "fb", - .coherent_dma_mask = ~0, - }, - .res = { - .start = 0x00104000, - .end = 0x00104fff, - .flags = IORESOURCE_MEM, - }, - .irq = { NETX_IRQ_LCD }, -}; +static AMBA_AHB_DEVICE(fb, "fb", 0, 0x00104000, { NETX_IRQ_LCD }, NULL); int netx_fb_init(struct clcd_board *board, struct clcd_panel *panel) {