diff options
author | Andrew Victor <linux@maxim.org.za> | 2008-09-18 14:42:37 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-09-21 17:58:37 -0400 |
commit | bb1ad68b96a68e577a87ad62fe1aa26d052a52b5 (patch) | |
tree | a98d65d54a4f441329f83988ffb9bea16e7d396e /arch/arm/mach-at91/at91sam9263.c | |
parent | e505240b6a6fd47b84cfeb1272ffeacd3e0874b3 (diff) |
[ARM] 5258/1: [AT91] PWM controller initialization
Add platform_devices and configuration of the PWM controller found on
Atmel AT91CAP9, SAM9263 and SAM9RL processors.
SAM9263 support by Sedji Gaouaou.
Signed-off-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9263.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9263.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/at91sam9263.c b/arch/arm/mach-at91/at91sam9263.c index 80bfab5680e2..ada4b6769107 100644 --- a/arch/arm/mach-at91/at91sam9263.c +++ b/arch/arm/mach-at91/at91sam9263.c | |||
@@ -129,8 +129,8 @@ static struct clk tcb_clk = { | |||
129 | .pmc_mask = 1 << AT91SAM9263_ID_TCB, | 129 | .pmc_mask = 1 << AT91SAM9263_ID_TCB, |
130 | .type = CLK_TYPE_PERIPHERAL, | 130 | .type = CLK_TYPE_PERIPHERAL, |
131 | }; | 131 | }; |
132 | static struct clk pwmc_clk = { | 132 | static struct clk pwm_clk = { |
133 | .name = "pwmc_clk", | 133 | .name = "pwm_clk", |
134 | .pmc_mask = 1 << AT91SAM9263_ID_PWMC, | 134 | .pmc_mask = 1 << AT91SAM9263_ID_PWMC, |
135 | .type = CLK_TYPE_PERIPHERAL, | 135 | .type = CLK_TYPE_PERIPHERAL, |
136 | }; | 136 | }; |
@@ -187,7 +187,7 @@ static struct clk *periph_clocks[] __initdata = { | |||
187 | &ssc1_clk, | 187 | &ssc1_clk, |
188 | &ac97_clk, | 188 | &ac97_clk, |
189 | &tcb_clk, | 189 | &tcb_clk, |
190 | &pwmc_clk, | 190 | &pwm_clk, |
191 | &macb_clk, | 191 | &macb_clk, |
192 | &twodge_clk, | 192 | &twodge_clk, |
193 | &udc_clk, | 193 | &udc_clk, |