diff options
author | Felipe Balbi <balbi@ti.com> | 2011-03-09 20:44:28 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-03-09 20:44:28 -0500 |
commit | b481cea34bb41f3731567c8c1be0625bf80d20b7 (patch) | |
tree | 3533e00799cd652a7ace7c4a3fadca4d211839c8 | |
parent | cd97bb003276a66b2174e5dc589748e5c4bc357e (diff) |
OMAP: clock: fix compile warning
if building kernels without OMAP2 support, we
will see a warning such as:
arch/arm/mach-omap2/io.c: In function 'omap2_init_common_infrastructure':
arch/arm/mach-omap2/io.c:389:3: warning: statement with no effect
arch/arm/mach-omap2/io.c:391:3: warning: statement with no effect
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
-rw-r--r-- | arch/arm/mach-omap2/clock2xxx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/clock2xxx.h b/arch/arm/mach-omap2/clock2xxx.h index cc5c8d422c5b..cb6df8ca9e4a 100644 --- a/arch/arm/mach-omap2/clock2xxx.h +++ b/arch/arm/mach-omap2/clock2xxx.h | |||
@@ -23,13 +23,13 @@ void omap2xxx_clk_prepare_for_reboot(void); | |||
23 | #ifdef CONFIG_SOC_OMAP2420 | 23 | #ifdef CONFIG_SOC_OMAP2420 |
24 | int omap2420_clk_init(void); | 24 | int omap2420_clk_init(void); |
25 | #else | 25 | #else |
26 | #define omap2420_clk_init() 0 | 26 | #define omap2420_clk_init() do { } while(0) |
27 | #endif | 27 | #endif |
28 | 28 | ||
29 | #ifdef CONFIG_SOC_OMAP2430 | 29 | #ifdef CONFIG_SOC_OMAP2430 |
30 | int omap2430_clk_init(void); | 30 | int omap2430_clk_init(void); |
31 | #else | 31 | #else |
32 | #define omap2430_clk_init() 0 | 32 | #define omap2430_clk_init() do { } while(0) |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | extern void __iomem *prcm_clksrc_ctrl, *cm_idlest_pll; | 35 | extern void __iomem *prcm_clksrc_ctrl, *cm_idlest_pll; |