summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/clkdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/clkdev.h')
-rw-r--r--arch/mips/include/asm/clkdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/clkdev.h b/arch/mips/include/asm/clkdev.h
index 262475414e5..1b3ad7b09dc 100644
--- a/arch/mips/include/asm/clkdev.h
+++ b/arch/mips/include/asm/clkdev.h
@@ -14,8 +14,10 @@
#include <linux/slab.h>
+#ifndef CONFIG_COMMON_CLK
#define __clk_get(clk) ({ 1; })
#define __clk_put(clk) do { } while (0)
+#endif
static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size)
{