[PATCH] pinctrl: da850-pupd: Add to module device table

From: David Lechner
Date: Thu Jan 05 2017 - 19:37:36 EST


This adds the pintrol-da850-pupd driver to the module device table so that
udev will automatically bind the driver to the device.

Signed-off-by: David Lechner <david@xxxxxxxxxxxxxx>
---
drivers/pinctrl/pinctrl-da850-pupd.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/pinctrl-da850-pupd.c b/drivers/pinctrl/pinctrl-da850-pupd.c
index b36a90a..921729b 100644
--- a/drivers/pinctrl/pinctrl-da850-pupd.c
+++ b/drivers/pinctrl/pinctrl-da850-pupd.c
@@ -194,6 +194,7 @@ static const struct of_device_id da850_pupd_of_match[] = {
{ .compatible = "ti,da850-pupd" },
{ }
};
+MODULE_DEVICE_TABLE(of, da850_pupd_of_match);

static struct platform_driver da850_pupd_driver = {
.driver = {
--
2.7.4