aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/reset/reset-sunxi.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/reset/reset-sunxi.c b/drivers/reset/reset-sunxi.c
index 3080190b3f90..b44f6b5f87b6 100644
--- a/drivers/reset/reset-sunxi.c
+++ b/drivers/reset/reset-sunxi.c
@@ -13,7 +13,7 @@
13 13
14#include <linux/err.h> 14#include <linux/err.h>
15#include <linux/io.h> 15#include <linux/io.h>
16#include <linux/module.h> 16#include <linux/init.h>
17#include <linux/of.h> 17#include <linux/of.h>
18#include <linux/of_address.h> 18#include <linux/of_address.h>
19#include <linux/platform_device.h> 19#include <linux/platform_device.h>
@@ -142,7 +142,6 @@ static const struct of_device_id sunxi_reset_dt_ids[] = {
142 { .compatible = "allwinner,sun6i-a31-clock-reset", }, 142 { .compatible = "allwinner,sun6i-a31-clock-reset", },
143 { /* sentinel */ }, 143 { /* sentinel */ },
144}; 144};
145MODULE_DEVICE_TABLE(of, sunxi_reset_dt_ids);
146 145
147static int sunxi_reset_probe(struct platform_device *pdev) 146static int sunxi_reset_probe(struct platform_device *pdev)
148{ 147{
@@ -175,8 +174,4 @@ static struct platform_driver sunxi_reset_driver = {
175 .of_match_table = sunxi_reset_dt_ids, 174 .of_match_table = sunxi_reset_dt_ids,
176 }, 175 },
177}; 176};
178module_platform_driver(sunxi_reset_driver); 177builtin_platform_driver(sunxi_reset_driver);
179
180MODULE_AUTHOR("Maxime Ripard <maxime.ripard@free-electrons.com");
181MODULE_DESCRIPTION("Allwinner SoCs Reset Controller Driver");
182MODULE_LICENSE("GPL");