clk: at91: allow clock registration from C code
Remove static keyword to allow functions to be used from other units. Also move some struct and function declarations to pmc.h Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> [sboyd@kernel.org: Include pmc.h] Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:

committed by
Stephen Boyd

parent
c1e4580a1d
commit
b2e39dc0bb
@@ -277,7 +277,7 @@ static void clk_generated_startup(struct clk_generated *gck)
|
||||
>> AT91_PMC_PCR_GCKDIV_OFFSET;
|
||||
}
|
||||
|
||||
static struct clk_hw * __init
|
||||
struct clk_hw * __init
|
||||
at91_clk_register_generated(struct regmap *regmap, spinlock_t *lock,
|
||||
const char *name, const char **parent_names,
|
||||
u8 num_parents, u8 id, bool pll_audio,
|
||||
|
Reference in New Issue
Block a user