aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9260.c
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2007-02-14 02:44:43 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-14 10:22:09 -0500
commit69b2e99cf57ab8121d575a04a050314ac9c8f7e1 (patch)
treed299e3152524de4d4f7658f933919df3055e5ace /arch/arm/mach-at91/at91sam9260.c
parentc9b75d132261096ac1170354b9e27837af76a512 (diff)
[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>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9260.c')
-rw-r--r--arch/arm/mach-at91/at91sam9260.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/at91sam9260.c b/arch/arm/mach-at91/at91sam9260.c
index e03ee625f40c..86e3a4c46550 100644
--- a/arch/arm/mach-at91/at91sam9260.c
+++ b/arch/arm/mach-at91/at91sam9260.c
@@ -127,8 +127,8 @@ static struct clk ohci_clk = {
127 .pmc_mask = 1 << AT91SAM9260_ID_UHP, 127 .pmc_mask = 1 << AT91SAM9260_ID_UHP,
128 .type = CLK_TYPE_PERIPHERAL, 128 .type = CLK_TYPE_PERIPHERAL,
129}; 129};
130static struct clk ether_clk = { 130static struct clk macb_clk = {
131 .name = "ether_clk", 131 .name = "macb_clk",
132 .pmc_mask = 1 << AT91SAM9260_ID_EMAC, 132 .pmc_mask = 1 << AT91SAM9260_ID_EMAC,
133 .type = CLK_TYPE_PERIPHERAL, 133 .type = CLK_TYPE_PERIPHERAL,
134}; 134};
@@ -186,7 +186,7 @@ static struct clk *periph_clocks[] __initdata = {
186 &tc1_clk, 186 &tc1_clk,
187 &tc2_clk, 187 &tc2_clk,
188 &ohci_clk, 188 &ohci_clk,
189 &ether_clk, 189 &macb_clk,
190 &isi_clk, 190 &isi_clk,
191 &usart3_clk, 191 &usart3_clk,
192 &usart4_clk, 192 &usart4_clk,