|
@@ -17,6 +17,7 @@
|
|
|
#include <linux/io.h>
|
|
|
#include <linux/init.h>
|
|
|
#include <linux/clk.h>
|
|
|
+#include <linux/module.h>
|
|
|
#include <linux/err.h>
|
|
|
#include <linux/errno.h>
|
|
|
#include <linux/ioport.h>
|
|
@@ -209,6 +210,7 @@ static const struct of_device_id mb86s70_gpio_dt_ids[] = {
|
|
|
{ .compatible = "fujitsu,mb86s70-gpio" },
|
|
|
{ /* sentinel */ }
|
|
|
};
|
|
|
+MODULE_DEVICE_TABLE(of, mb86s70_gpio_dt_ids);
|
|
|
|
|
|
static struct platform_driver mb86s70_gpio_driver = {
|
|
|
.driver = {
|
|
@@ -218,5 +220,8 @@ static struct platform_driver mb86s70_gpio_driver = {
|
|
|
.probe = mb86s70_gpio_probe,
|
|
|
.remove = mb86s70_gpio_remove,
|
|
|
};
|
|
|
+module_platform_driver(mb86s70_gpio_driver);
|
|
|
|
|
|
-builtin_platform_driver(mb86s70_gpio_driver);
|
|
|
+MODULE_DESCRIPTION("MB86S7x GPIO Driver");
|
|
|
+MODULE_ALIAS("platform:mb86s70-gpio");
|
|
|
+MODULE_LICENSE("GPL");
|