summaryrefslogtreecommitdiff
path: root/backport/compat/compat-3.6.c
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2019-02-21 14:48:31 +0100
committerDominik Sliwa <dominik.sliwa@toradex.com>2019-02-22 15:26:14 +0100
commit515a1fa55cda2b1d952872e1786857481bd54fcc (patch)
tree4c66dd52c58f3d1da423a1ed7f92c4f720e24685 /backport/compat/compat-3.6.c
parentc956caceefd8e859c8b783dd13dad197dc1f7907 (diff)
backports: support 3.1 and 3.10 tegra kernels
Changes specific to vendor kernels Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'backport/compat/compat-3.6.c')
-rw-r--r--backport/compat/compat-3.6.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/backport/compat/compat-3.6.c b/backport/compat/compat-3.6.c
index ef364852..9e593f5c 100644
--- a/backport/compat/compat-3.6.c
+++ b/backport/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