diff options
Diffstat (limited to 'drivers/clk/sunxi/clk-sun8i-apb0.c')
-rw-r--r-- | drivers/clk/sunxi/clk-sun8i-apb0.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/clk/sunxi/clk-sun8i-apb0.c b/drivers/clk/sunxi/clk-sun8i-apb0.c index 2ea61debffc1..a5666e1d0ce7 100644 --- a/drivers/clk/sunxi/clk-sun8i-apb0.c +++ b/drivers/clk/sunxi/clk-sun8i-apb0.c | |||
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <linux/clk-provider.h> | 17 | #include <linux/clk-provider.h> |
18 | #include <linux/module.h> | 18 | #include <linux/init.h> |
19 | #include <linux/of.h> | 19 | #include <linux/of.h> |
20 | #include <linux/of_address.h> | 20 | #include <linux/of_address.h> |
21 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
@@ -108,7 +108,6 @@ static const struct of_device_id sun8i_a23_apb0_clk_dt_ids[] = { | |||
108 | { .compatible = "allwinner,sun8i-a23-apb0-clk" }, | 108 | { .compatible = "allwinner,sun8i-a23-apb0-clk" }, |
109 | { /* sentinel */ } | 109 | { /* sentinel */ } |
110 | }; | 110 | }; |
111 | MODULE_DEVICE_TABLE(of, sun8i_a23_apb0_clk_dt_ids); | ||
112 | 111 | ||
113 | static struct platform_driver sun8i_a23_apb0_clk_driver = { | 112 | static struct platform_driver sun8i_a23_apb0_clk_driver = { |
114 | .driver = { | 113 | .driver = { |
@@ -117,8 +116,4 @@ static struct platform_driver sun8i_a23_apb0_clk_driver = { | |||
117 | }, | 116 | }, |
118 | .probe = sun8i_a23_apb0_clk_probe, | 117 | .probe = sun8i_a23_apb0_clk_probe, |
119 | }; | 118 | }; |
120 | module_platform_driver(sun8i_a23_apb0_clk_driver); | 119 | builtin_platform_driver(sun8i_a23_apb0_clk_driver); |
121 | |||
122 | MODULE_AUTHOR("Chen-Yu Tsai <wens@csie.org>"); | ||
123 | MODULE_DESCRIPTION("Allwinner A23 APB0 clock Driver"); | ||
124 | MODULE_LICENSE("GPL v2"); | ||