summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/at91sam9260.c
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2007-02-14 08:44:43 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-14 15:22:09 +0000
commit69b2e99cf57ab8121d575a04a050314ac9c8f7e1 (patch)
treed299e3152524de4d4f7658f933919df3055e5ace /arch/arm/mach-at91/at91sam9260.c
parentc9b75d132261096ac1170354b9e27837af76a512 (diff)
downloadlwn-69b2e99cf57ab8121d575a04a050314ac9c8f7e1.tar.gz
lwn-69b2e99cf57ab8121d575a04a050314ac9c8f7e1.zip
[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 = {
.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,
- &ether_clk,
+ &macb_clk,
&isi_clk,
&usart3_clk,
&usart4_clk,