diff options
Diffstat (limited to 'arch/avr32/mach-at32ap')
-rw-r--r-- | arch/avr32/mach-at32ap/at32ap700x.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/avr32/mach-at32ap/at32ap700x.c b/arch/avr32/mach-at32ap/at32ap700x.c index 0f24b4f85c17..34b56de4ea60 100644 --- a/arch/avr32/mach-at32ap/at32ap700x.c +++ b/arch/avr32/mach-at32ap/at32ap700x.c | |||
@@ -93,19 +93,12 @@ static struct clk devname##_##_name = { \ | |||
93 | 93 | ||
94 | static DEFINE_SPINLOCK(pm_lock); | 94 | static DEFINE_SPINLOCK(pm_lock); |
95 | 95 | ||
96 | unsigned long at32ap7000_osc_rates[3] = { | ||
97 | [0] = 32768, | ||
98 | /* FIXME: these are ATSTK1002-specific */ | ||
99 | [1] = 20000000, | ||
100 | [2] = 12000000, | ||
101 | }; | ||
102 | |||
103 | static struct clk osc0; | 96 | static struct clk osc0; |
104 | static struct clk osc1; | 97 | static struct clk osc1; |
105 | 98 | ||
106 | static unsigned long osc_get_rate(struct clk *clk) | 99 | static unsigned long osc_get_rate(struct clk *clk) |
107 | { | 100 | { |
108 | return at32ap7000_osc_rates[clk->index]; | 101 | return at32_board_osc_rates[clk->index]; |
109 | } | 102 | } |
110 | 103 | ||
111 | static unsigned long pll_get_rate(struct clk *clk, unsigned long control) | 104 | static unsigned long pll_get_rate(struct clk *clk, unsigned long control) |