diff options
author | Paul Gortmaker <[email protected]> | 2015-06-03 11:20:05 -0400 |
---|---|---|
committer | Paul Gortmaker <[email protected]> | 2015-06-16 14:12:39 -0400 |
commit | 77459a0feca4ae8757a905fd1791f039479e8e1e (patch) | |
tree | 7d4b27b28bd3e44d457cd3c4c275d95035caa596 | |
parent | e35415e59f86d6b546a3681e2cda4f22b5b142c0 (diff) |
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" <[email protected]>
Cc: Mike Turquette <[email protected]>
Cc: Stephen Boyd <[email protected]>
Acked-by: Stephen Boyd <[email protected]>
Cc: Maxime Ripard <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Paul Gortmaker <[email protected]>
-rw-r--r-- | drivers/clk/sunxi/clk-mod0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/sunxi/clk-mod0.c b/drivers/clk/sunxi/clk-mod0.c index ec8f5a1fca09..9d028aec58e5 100644 --- a/drivers/clk/sunxi/clk-mod0.c +++ b/drivers/clk/sunxi/clk-mod0.c @@ -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, |