clk: export __clk_get_flags for modular clock providers
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 15 Apr 2013 06:59:46 +0000 (08:59 +0200)
committerMike Turquette <mturquette@linaro.org>
Mon, 15 Apr 2013 21:50:17 +0000 (14:50 -0700)
The common clock api provides some helpers for clk-providers but does
not export these helpers. This hinders clk-providers to be built as modules.
This patch adds __clk_get_flags() to the list of exported symbols.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk.c

index d65ef178e6eb987a3756a93581b70bbdc4072f3c..20ce67f82d65ddf5acc5dd2b08f294497dbf197c 100644 (file)
@@ -458,6 +458,7 @@ static void clk_unprepare_unused_subtree(struct clk *clk)
                        clk->ops->unprepare(clk->hw);
        }
 }
+EXPORT_SYMBOL_GPL(__clk_get_flags);
 
 /* caller must hold prepare_lock */
 static void clk_disable_unused_subtree(struct clk *clk)