Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1552428

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

From David Lechner <david@lechnology.com>
Newsgroups linux.kernel
Subject [PATCH] pinctrl: da850-pupd: Add to module device table
Date 2017-01-06 01:40 +0100
Message-ID <sWqJA-2cg-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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(+)

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

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] pinctrl: da850-pupd: Add to module device table David Lechner <david@lechnology.com> - 2017-01-06 01:40 +0100
  Re: [PATCH] pinctrl: da850-pupd: Add to module device table Linus Walleij <linus.walleij@linaro.org> - 2017-01-11 14:30 +0100

csiph-web