|
@@ -1,5 +1,6 @@
|
|
/*
|
|
/*
|
|
- * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
|
|
|
|
|
|
+ * Copyright (C) 2015-2017 Socionext Inc.
|
|
|
|
+ * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
|
|
*
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* it under the terms of the GNU General Public License as published by
|
|
@@ -13,7 +14,7 @@
|
|
*/
|
|
*/
|
|
|
|
|
|
#include <linux/kernel.h>
|
|
#include <linux/kernel.h>
|
|
-#include <linux/module.h>
|
|
|
|
|
|
+#include <linux/init.h>
|
|
#include <linux/pinctrl/pinctrl.h>
|
|
#include <linux/pinctrl/pinctrl.h>
|
|
#include <linux/platform_device.h>
|
|
#include <linux/platform_device.h>
|
|
|
|
|
|
@@ -1279,7 +1280,6 @@ static const struct of_device_id uniphier_pxs2_pinctrl_match[] = {
|
|
{ .compatible = "socionext,uniphier-pxs2-pinctrl" },
|
|
{ .compatible = "socionext,uniphier-pxs2-pinctrl" },
|
|
{ /* sentinel */ }
|
|
{ /* sentinel */ }
|
|
};
|
|
};
|
|
-MODULE_DEVICE_TABLE(of, uniphier_pxs2_pinctrl_match);
|
|
|
|
|
|
|
|
static struct platform_driver uniphier_pxs2_pinctrl_driver = {
|
|
static struct platform_driver uniphier_pxs2_pinctrl_driver = {
|
|
.probe = uniphier_pxs2_pinctrl_probe,
|
|
.probe = uniphier_pxs2_pinctrl_probe,
|
|
@@ -1288,8 +1288,4 @@ static struct platform_driver uniphier_pxs2_pinctrl_driver = {
|
|
.of_match_table = uniphier_pxs2_pinctrl_match,
|
|
.of_match_table = uniphier_pxs2_pinctrl_match,
|
|
},
|
|
},
|
|
};
|
|
};
|
|
-module_platform_driver(uniphier_pxs2_pinctrl_driver);
|
|
|
|
-
|
|
|
|
-MODULE_AUTHOR("Masahiro Yamada <yamada.masahiro@socionext.com>");
|
|
|
|
-MODULE_DESCRIPTION("UniPhier ProXstream2 pinctrl driver");
|
|
|
|
-MODULE_LICENSE("GPL");
|
|
|
|
|
|
+builtin_platform_driver(uniphier_pxs2_pinctrl_driver);
|