Skip to content

Commit

Permalink
ARM: at91: prepare common clk transition for sam9263
Browse files Browse the repository at this point in the history
Enclose the sam9263 old clk registration in "#if defined(CONFIG_OLD_CLK_AT91)
 #endif"

Signed-off-by: Alexandre Belloni <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
  • Loading branch information
alexandrebelloni committed Jul 9, 2014
1 parent a0747ca commit b81ccb3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arch/arm/mach-at91/at91sam9263.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@
#include "at91_rstc.h"
#include "soc.h"
#include "generic.h"
#include "clock.h"
#include "sam9_smc.h"
#include "pm.h"

#if defined(CONFIG_OLD_CLK_AT91)
#include "clock.h"
/* --------------------------------------------------------------------
* Clocks
* -------------------------------------------------------------------- */
Expand Down Expand Up @@ -280,6 +281,9 @@ static void __init at91sam9263_register_clocks(void)
clk_register(&pck2);
clk_register(&pck3);
}
#else
#define at91sam9263_register_clocks NULL
#endif

/* --------------------------------------------------------------------
* GPIO
Expand Down

0 comments on commit b81ccb3

Please sign in to comment.