diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/clk/ti.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/clk/ti.h b/include/linux/clk/ti.h index 0eac65054283..67844003493d 100644 --- a/include/linux/clk/ti.h +++ b/include/linux/clk/ti.h | |||
@@ -360,9 +360,17 @@ extern const struct clk_hw_omap_ops clkhwops_omap3430es2_iclk_ssi_wait; | |||
360 | extern const struct clk_hw_omap_ops clkhwops_omap3430es2_iclk_dss_usbhost_wait; | 360 | extern const struct clk_hw_omap_ops clkhwops_omap3430es2_iclk_dss_usbhost_wait; |
361 | extern const struct clk_hw_omap_ops clkhwops_omap3430es2_iclk_hsotgusb_wait; | 361 | extern const struct clk_hw_omap_ops clkhwops_omap3430es2_iclk_hsotgusb_wait; |
362 | 362 | ||
363 | #ifdef CONFIG_ATAGS | ||
363 | int omap3430_clk_legacy_init(void); | 364 | int omap3430_clk_legacy_init(void); |
364 | int omap3430es1_clk_legacy_init(void); | 365 | int omap3430es1_clk_legacy_init(void); |
365 | int omap36xx_clk_legacy_init(void); | 366 | int omap36xx_clk_legacy_init(void); |
366 | int am35xx_clk_legacy_init(void); | 367 | int am35xx_clk_legacy_init(void); |
368 | #else | ||
369 | static inline int omap3430_clk_legacy_init(void) { return -ENXIO; } | ||
370 | static inline int omap3430es1_clk_legacy_init(void) { return -ENXIO; } | ||
371 | static inline int omap36xx_clk_legacy_init(void) { return -ENXIO; } | ||
372 | static inline int am35xx_clk_legacy_init(void) { return -ENXIO; } | ||
373 | #endif | ||
374 | |||
367 | 375 | ||
368 | #endif | 376 | #endif |