summaryrefslogtreecommitdiff
path: root/compat/compat-3.6.c
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2017-07-04 11:53:51 +0200
committerDominik Sliwa <dominik.sliwa@toradex.com>2017-08-21 17:21:16 +0200
commit84d6642e4d1609562abb421341c9a90c023247a1 (patch)
treeffcc2b23e887c7d5615303067978e185e67072cc /compat/compat-3.6.c
parent52409fae3e4b8d16b68b61902fc09075cd97b75d (diff)
backports:fix compilation with toradex kernels
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'compat/compat-3.6.c')
-rw-r--r--compat/compat-3.6.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/compat-3.6.c b/compat/compat-3.6.c
index ef36485..9e593f5 100644
--- a/compat/compat-3.6.c
+++ b/compat/compat-3.6.c
@@ -14,6 +14,7 @@
/* whoopsie ! */
#ifndef CONFIG_COMMON_CLK
+#ifndef CONFIG_ARCH_TEGRA
int clk_enable(struct clk *clk)
{
return 0;
@@ -25,3 +26,4 @@ void clk_disable(struct clk *clk)
}
EXPORT_SYMBOL_GPL(clk_disable);
#endif
+#endif