Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d948b454 authored by Russell King's avatar Russell King
Browse files

ARM: amba: netx: use common amba device initializers

parent 8ede1ae6
Loading
Loading
Loading
Loading
+1 −12
Original line number Diff line number Diff line
@@ -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)
{