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


Groups > linux.kernel > #1552428 > unrolled thread

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

Started byDavid Lechner <david@lechnology.com>
First post2017-01-06 01:40 +0100
Last post2017-01-11 14:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [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

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

FromDavid Lechner <david@lechnology.com>
Date2017-01-06 01:40 +0100
Subject[PATCH] pinctrl: da850-pupd: Add to module device table
Message-ID<sWqJA-2cg-11@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1556479

FromLinus Walleij <linus.walleij@linaro.org>
Date2017-01-11 14:30 +0100
Message-ID<sYr8t-7rM-29@gated-at.bofh.it>
In reply to#1552428
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web