diff mbox

pinctrl: da850-pupd: Add to module device table

Message ID 1483659821-32296-1-git-send-email-david@lechnology.com
State New
Headers show

Commit Message

David Lechner Jan. 5, 2017, 11:43 p.m. UTC
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@lechnology.com>
---
 drivers/pinctrl/pinctrl-da850-pupd.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Linus Walleij Jan. 11, 2017, 1:28 p.m. UTC | #1
On Fri, Jan 6, 2017 at 12:43 AM, David Lechner <david@lechnology.com> wrote:

> 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@lechnology.com>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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	= {