summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2014-08-04 12:48:58 +0200
committerMike Turquette <mturquette@linaro.org>2014-08-04 09:48:39 -0700
commitb11a6face1b6d5518319f797a74e22bb4309daa9 (patch)
tree2386cc47a6a666e60bb908be8a3bd77fcbbb8504 /drivers/clk
parent6ba19bf066624f0090fd3beaea115ad55cafb753 (diff)
downloadlinux-b11a6face1b6d5518319f797a74e22bb4309daa9.tar.bz2
clk: Add missing of_clk_set_defaults export
The of_clk_set_defaults() function is used in subsystems which can be built as module. Add the missing symbol export entry so there is no build errors like: "ERROR: "of_clk_set_defaults" [drivers/i2c/i2c-core.ko] undefined!". Fixes commit: 86be408bfbd846fab3c4ac21d6f9298bd2e4b790 "clk: Support for clock parents and rates assigned from device tree" Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Acked-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/clk-conf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/clk-conf.c b/drivers/clk/clk-conf.c
index 4e1bda7abc88..aad4796aa3ed 100644
--- a/drivers/clk/clk-conf.c
+++ b/drivers/clk/clk-conf.c
@@ -141,3 +141,4 @@ int of_clk_set_defaults(struct device_node *node, bool clk_supplier)
return __set_clk_rates(node, clk_supplier);
}
+EXPORT_SYMBOL_GPL(of_clk_set_defaults);