Commit 69b2e99c authored by Andrew Victor's avatar Andrew Victor Committed by Russell King

[ARM] 4189/1: AT91: MACB Ethernet clock

The MACB Ethernet driver searches for a "macb_clk" clock, so rename the
"ether_clk" on the SAM9260 and SAM9263 to "macb_clk".
Signed-off-by: default avatarAndrew Victor <andrew@sanpeople.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent c9b75d13
...@@ -127,8 +127,8 @@ static struct clk ohci_clk = { ...@@ -127,8 +127,8 @@ static struct clk ohci_clk = {
.pmc_mask = 1 << AT91SAM9260_ID_UHP, .pmc_mask = 1 << AT91SAM9260_ID_UHP,
.type = CLK_TYPE_PERIPHERAL, .type = CLK_TYPE_PERIPHERAL,
}; };
static struct clk ether_clk = { static struct clk macb_clk = {
.name = "ether_clk", .name = "macb_clk",
.pmc_mask = 1 << AT91SAM9260_ID_EMAC, .pmc_mask = 1 << AT91SAM9260_ID_EMAC,
.type = CLK_TYPE_PERIPHERAL, .type = CLK_TYPE_PERIPHERAL,
}; };
...@@ -186,7 +186,7 @@ static struct clk *periph_clocks[] __initdata = { ...@@ -186,7 +186,7 @@ static struct clk *periph_clocks[] __initdata = {
&tc1_clk, &tc1_clk,
&tc2_clk, &tc2_clk,
&ohci_clk, &ohci_clk,
&ether_clk, &macb_clk,
&isi_clk, &isi_clk,
&usart3_clk, &usart3_clk,
&usart4_clk, &usart4_clk,
......
...@@ -107,8 +107,8 @@ static struct clk tcb_clk = { ...@@ -107,8 +107,8 @@ static struct clk tcb_clk = {
.pmc_mask = 1 << AT91SAM9263_ID_TCB, .pmc_mask = 1 << AT91SAM9263_ID_TCB,
.type = CLK_TYPE_PERIPHERAL, .type = CLK_TYPE_PERIPHERAL,
}; };
static struct clk ether_clk = { static struct clk macb_clk = {
.name = "ether_clk", .name = "macb_clk",
.pmc_mask = 1 << AT91SAM9263_ID_EMAC, .pmc_mask = 1 << AT91SAM9263_ID_EMAC,
.type = CLK_TYPE_PERIPHERAL, .type = CLK_TYPE_PERIPHERAL,
}; };
...@@ -150,7 +150,7 @@ static struct clk *periph_clocks[] __initdata = { ...@@ -150,7 +150,7 @@ static struct clk *periph_clocks[] __initdata = {
// ac97 // ac97
&tcb_clk, &tcb_clk,
// pwmc // pwmc
&ether_clk, &macb_clk,
// 2dge // 2dge
&udc_clk, &udc_clk,
&isi_clk, &isi_clk,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment