Skip to content

Commit

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

Signed-off-by: Alexandre Belloni <[email protected]>
Acked-by: Boris BREZILLON <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
  • Loading branch information
alexandrebelloni committed Jul 9, 2014
1 parent 152f300 commit 36c203f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arch/arm/mach-at91/at91rm9200.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
#include "at91_aic.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 @@ -277,6 +278,9 @@ static void __init at91rm9200_register_clocks(void)
clk_register(&pck2);
clk_register(&pck3);
}
#else
#define at91rm9200_register_clocks NULL
#endif

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

0 comments on commit 36c203f

Please sign in to comment.