[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: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
c9b75d1322
commit
69b2e99cf5
|
@ -127,8 +127,8 @@ static struct clk ohci_clk = {
|
|||
.pmc_mask = 1 << AT91SAM9260_ID_UHP,
|
||||
.type = CLK_TYPE_PERIPHERAL,
|
||||
};
|
||||
static struct clk ether_clk = {
|
||||
.name = "ether_clk",
|
||||
static struct clk macb_clk = {
|
||||
.name = "macb_clk",
|
||||
.pmc_mask = 1 << AT91SAM9260_ID_EMAC,
|
||||
.type = CLK_TYPE_PERIPHERAL,
|
||||
};
|
||||
|
@ -186,7 +186,7 @@ static struct clk *periph_clocks[] __initdata = {
|
|||
&tc1_clk,
|
||||
&tc2_clk,
|
||||
&ohci_clk,
|
||||
ðer_clk,
|
||||
&macb_clk,
|
||||
&isi_clk,
|
||||
&usart3_clk,
|
||||
&usart4_clk,
|
||||
|
|
|
@ -107,8 +107,8 @@ static struct clk tcb_clk = {
|
|||
.pmc_mask = 1 << AT91SAM9263_ID_TCB,
|
||||
.type = CLK_TYPE_PERIPHERAL,
|
||||
};
|
||||
static struct clk ether_clk = {
|
||||
.name = "ether_clk",
|
||||
static struct clk macb_clk = {
|
||||
.name = "macb_clk",
|
||||
.pmc_mask = 1 << AT91SAM9263_ID_EMAC,
|
||||
.type = CLK_TYPE_PERIPHERAL,
|
||||
};
|
||||
|
@ -150,7 +150,7 @@ static struct clk *periph_clocks[] __initdata = {
|
|||
// ac97
|
||||
&tcb_clk,
|
||||
// pwmc
|
||||
ðer_clk,
|
||||
&macb_clk,
|
||||
// 2dge
|
||||
&udc_clk,
|
||||
&isi_clk,
|
||||
|
|
Loading…
Reference in a new issue