|
@@ -23,7 +23,7 @@
|
|
* GNU General Public License for more details.
|
|
* GNU General Public License for more details.
|
|
*/
|
|
*/
|
|
|
|
|
|
-#include <linux/module.h>
|
|
|
|
|
|
+#include <linux/init.h>
|
|
#include <linux/platform_device.h>
|
|
#include <linux/platform_device.h>
|
|
#include <linux/io.h>
|
|
#include <linux/io.h>
|
|
#include <linux/bitops.h>
|
|
#include <linux/bitops.h>
|
|
@@ -2704,7 +2704,6 @@ static const struct of_device_id rockchip_pinctrl_dt_match[] = {
|
|
.data = (void *)&rk3399_pin_ctrl },
|
|
.data = (void *)&rk3399_pin_ctrl },
|
|
{},
|
|
{},
|
|
};
|
|
};
|
|
-MODULE_DEVICE_TABLE(of, rockchip_pinctrl_dt_match);
|
|
|
|
|
|
|
|
static struct platform_driver rockchip_pinctrl_driver = {
|
|
static struct platform_driver rockchip_pinctrl_driver = {
|
|
.probe = rockchip_pinctrl_probe,
|
|
.probe = rockchip_pinctrl_probe,
|
|
@@ -2720,7 +2719,3 @@ static int __init rockchip_pinctrl_drv_register(void)
|
|
return platform_driver_register(&rockchip_pinctrl_driver);
|
|
return platform_driver_register(&rockchip_pinctrl_driver);
|
|
}
|
|
}
|
|
postcore_initcall(rockchip_pinctrl_drv_register);
|
|
postcore_initcall(rockchip_pinctrl_drv_register);
|
|
-
|
|
|
|
-MODULE_AUTHOR("Heiko Stuebner <heiko@sntech.de>");
|
|
|
|
-MODULE_DESCRIPTION("Rockchip pinctrl driver");
|
|
|
|
-MODULE_LICENSE("GPL v2");
|
|
|