aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/reset/reset-pistachio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/reset/reset-pistachio.c')
-rw-r--r--drivers/reset/reset-pistachio.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/reset/reset-pistachio.c b/drivers/reset/reset-pistachio.c
index bbc4c06dd33b..11d651b44e81 100644
--- a/drivers/reset/reset-pistachio.c
+++ b/drivers/reset/reset-pistachio.c
@@ -10,7 +10,7 @@
10 * version 2, as published by the Free Software Foundation. 10 * version 2, as published by the Free Software Foundation.
11 */ 11 */
12 12
13#include <linux/module.h> 13#include <linux/init.h>
14#include <linux/of.h> 14#include <linux/of.h>
15#include <linux/platform_device.h> 15#include <linux/platform_device.h>
16#include <linux/regmap.h> 16#include <linux/regmap.h>
@@ -128,7 +128,6 @@ static const struct of_device_id pistachio_reset_dt_ids[] = {
128 { .compatible = "img,pistachio-reset", }, 128 { .compatible = "img,pistachio-reset", },
129 { /* sentinel */ }, 129 { /* sentinel */ },
130}; 130};
131MODULE_DEVICE_TABLE(of, pistachio_reset_dt_ids);
132 131
133static struct platform_driver pistachio_reset_driver = { 132static struct platform_driver pistachio_reset_driver = {
134 .probe = pistachio_reset_probe, 133 .probe = pistachio_reset_probe,
@@ -137,8 +136,4 @@ static struct platform_driver pistachio_reset_driver = {
137 .of_match_table = pistachio_reset_dt_ids, 136 .of_match_table = pistachio_reset_dt_ids,
138 }, 137 },
139}; 138};
140module_platform_driver(pistachio_reset_driver); 139builtin_platform_driver(pistachio_reset_driver);
141
142MODULE_AUTHOR("Damien Horsley <Damien.Horsley@imgtec.com>");
143MODULE_DESCRIPTION("Pistacho Reset Controller Driver");
144MODULE_LICENSE("GPL v2");