aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/reset/reset-meson.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/reset/reset-meson.c')
-rw-r--r--drivers/reset/reset-meson.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/reset/reset-meson.c b/drivers/reset/reset-meson.c
index c32f11a30c5f..a8b915eb8b58 100644
--- a/drivers/reset/reset-meson.c
+++ b/drivers/reset/reset-meson.c
@@ -1,4 +1,6 @@
1/* 1/*
2 * Amlogic Meson Reset Controller driver
3 *
2 * This file is provided under a dual BSD/GPLv2 license. When using or 4 * This file is provided under a dual BSD/GPLv2 license. When using or
3 * redistributing this file, you may do so under either license. 5 * redistributing this file, you may do so under either license.
4 * 6 *
@@ -53,7 +55,7 @@
53 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 55 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
54 */ 56 */
55#include <linux/err.h> 57#include <linux/err.h>
56#include <linux/module.h> 58#include <linux/init.h>
57#include <linux/io.h> 59#include <linux/io.h>
58#include <linux/of.h> 60#include <linux/of.h>
59#include <linux/platform_device.h> 61#include <linux/platform_device.h>
@@ -95,7 +97,6 @@ static const struct of_device_id meson_reset_dt_ids[] = {
95 { .compatible = "amlogic,meson-gxbb-reset", }, 97 { .compatible = "amlogic,meson-gxbb-reset", },
96 { /* sentinel */ }, 98 { /* sentinel */ },
97}; 99};
98MODULE_DEVICE_TABLE(of, meson_reset_dt_ids);
99 100
100static int meson_reset_probe(struct platform_device *pdev) 101static int meson_reset_probe(struct platform_device *pdev)
101{ 102{
@@ -128,9 +129,4 @@ static struct platform_driver meson_reset_driver = {
128 .of_match_table = meson_reset_dt_ids, 129 .of_match_table = meson_reset_dt_ids,
129 }, 130 },
130}; 131};
131 132builtin_platform_driver(meson_reset_driver);
132module_platform_driver(meson_reset_driver);
133
134MODULE_AUTHOR("Neil Armstrong <narmstrong@baylibre.com>");
135MODULE_DESCRIPTION("Amlogic Meson Reset Controller driver");
136MODULE_LICENSE("Dual BSD/GPL");