mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
ARM: amba: netx: use common amba device initializers
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
8ede1ae65e
commit
d948b454b0
1 changed files with 1 additions and 12 deletions
|
@ -92,18 +92,7 @@ void clk_put(struct clk *clk)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct amba_device fb_device = {
|
static AMBA_AHB_DEVICE(fb, "fb", 0, 0x00104000, { NETX_IRQ_LCD }, NULL);
|
||||||
.dev = {
|
|
||||||
.init_name = "fb",
|
|
||||||
.coherent_dma_mask = ~0,
|
|
||||||
},
|
|
||||||
.res = {
|
|
||||||
.start = 0x00104000,
|
|
||||||
.end = 0x00104fff,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
},
|
|
||||||
.irq = { NETX_IRQ_LCD },
|
|
||||||
};
|
|
||||||
|
|
||||||
int netx_fb_init(struct clcd_board *board, struct clcd_panel *panel)
|
int netx_fb_init(struct clcd_board *board, struct clcd_panel *panel)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue