Skip to content
Snippets Groups Projects
Commit a1e5f931 authored by Daniel Gorsulowski's avatar Daniel Gorsulowski Committed by Jean-Christophe PLAGNIOL-VILLARD
Browse files

at91: fixed plla calc when no USB support is active

parent 3791a118
No related branches found
No related tags found
No related merge requests found
...@@ -126,6 +126,7 @@ static unsigned at91_pll_calc(unsigned main_freq, unsigned out_freq) ...@@ -126,6 +126,7 @@ static unsigned at91_pll_calc(unsigned main_freq, unsigned out_freq)
fail: fail:
return 0; return 0;
} }
#endif
static u32 at91_pll_rate(u32 freq, u32 reg) static u32 at91_pll_rate(u32 freq, u32 reg)
{ {
...@@ -141,7 +142,6 @@ static u32 at91_pll_rate(u32 freq, u32 reg) ...@@ -141,7 +142,6 @@ static u32 at91_pll_rate(u32 freq, u32 reg)
return freq; return freq;
} }
#endif
int at91_clock_init(unsigned long main_clock) int at91_clock_init(unsigned long main_clock)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment