mirror of https://gitee.com/openkylin/linux.git
clk: nomadik: fix missing __init on nomadik_src_init
nomadik_src_init references __initconst sections but lacks an __init itself. Add __init to fix the section mismatch. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
parent
b4e086f679
commit
54bf93c49a
|
@ -86,7 +86,7 @@ static const struct of_device_id nomadik_src_match[] __initconst = {
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
|
|
||||||
static void nomadik_src_init(void)
|
static void __init nomadik_src_init(void)
|
||||||
{
|
{
|
||||||
struct device_node *np;
|
struct device_node *np;
|
||||||
u32 val;
|
u32 val;
|
||||||
|
|
Loading…
Reference in New Issue