mirror of https://gitee.com/openkylin/linux.git
drivers/clk: convert sunxi/clk-mod0.c to use builtin_platform_driver
This driver builds based on obj-y and hence will not ever be modular. Change it to use the non-modular registration so that it won't suffer a compile fail once a header move places the modular registration within the module.h file. Cc: "Emilio López" <emilio@elopez.com.ar> Cc: Mike Turquette <mturquette@linaro.org> Cc: Stephen Boyd <sboyd@codeaurora.org> Acked-by: Stephen Boyd <sboyd@codeaurora.org> Cc: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
This commit is contained in:
parent
e35415e59f
commit
77459a0fec
|
@ -128,7 +128,7 @@ static struct platform_driver sun4i_a10_mod0_clk_driver = {
|
|||
},
|
||||
.probe = sun4i_a10_mod0_clk_probe,
|
||||
};
|
||||
module_platform_driver(sun4i_a10_mod0_clk_driver);
|
||||
builtin_platform_driver(sun4i_a10_mod0_clk_driver);
|
||||
|
||||
static const struct factors_data sun9i_a80_mod0_data __initconst = {
|
||||
.enable = 31,
|
||||
|
|
Loading…
Reference in New Issue