diff options
Diffstat (limited to 'arch/arm/include/asm/clkdev.h')
-rw-r--r-- | arch/arm/include/asm/clkdev.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/clkdev.h b/arch/arm/include/asm/clkdev.h index 765d33222369..80751c15c300 100644 --- a/arch/arm/include/asm/clkdev.h +++ b/arch/arm/include/asm/clkdev.h | |||
@@ -14,7 +14,12 @@ | |||
14 | 14 | ||
15 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
16 | 16 | ||
17 | #ifdef CONFIG_HAVE_MACH_CLKDEV | ||
17 | #include <mach/clkdev.h> | 18 | #include <mach/clkdev.h> |
19 | #else | ||
20 | #define __clk_get(clk) ({ 1; }) | ||
21 | #define __clk_put(clk) do { } while (0) | ||
22 | #endif | ||
18 | 23 | ||
19 | static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size) | 24 | static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size) |
20 | { | 25 | { |