From e34cb44ac7c08783b98a16eec70125e205e6eb12 Mon Sep 17 00:00:00 2001 From: Dominik Sliwa Date: Tue, 21 Nov 2017 12:59:41 +0000 Subject: initial commit Generated againts 4.14 kernel source with git backports 1d8cc151d365582b42be00af776270b834a7a37d --- compat/compat-3.6.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 compat/compat-3.6.c (limited to 'compat/compat-3.6.c') diff --git a/compat/compat-3.6.c b/compat/compat-3.6.c new file mode 100644 index 0000000..ef36485 --- /dev/null +++ b/compat/compat-3.6.c @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2013 Luis R. Rodriguez + * + * Backport compatibility file for Linux for kernels 3.6. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include +#include +#include + +/* whoopsie ! */ +#ifndef CONFIG_COMMON_CLK +int clk_enable(struct clk *clk) +{ + return 0; +} +EXPORT_SYMBOL_GPL(clk_enable); + +void clk_disable(struct clk *clk) +{ +} +EXPORT_SYMBOL_GPL(clk_disable); +#endif -- cgit v1.2.3