summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/clk/sunxi/clk-mod0.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/clk/sunxi/clk-mod0.c')
-rw-r--r--kernel/drivers/clk/sunxi/clk-mod0.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/drivers/clk/sunxi/clk-mod0.c b/kernel/drivers/clk/sunxi/clk-mod0.c
index ec8f5a1fc..d167e1efb 100644
--- a/kernel/drivers/clk/sunxi/clk-mod0.c
+++ b/kernel/drivers/clk/sunxi/clk-mod0.c
@@ -14,10 +14,11 @@
* GNU General Public License for more details.
*/
+#include <linux/clk.h>
#include <linux/clk-provider.h>
-#include <linux/clkdev.h>
#include <linux/of_address.h>
#include <linux/platform_device.h>
+#include <linux/slab.h>
#include "clk-factors.h"
@@ -128,7 +129,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,