Skip to contentSkip to conversation

pinctrl: da850-pupd: Add to module device table

PATCH In review David Lechner 2 participants 2 messages Jan 6, 2017 – Jan 11, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pinctrl: da850-pupd: Add to module device table

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

---
 drivers/pinctrl/pinctrl-da850-pupd.c | 1 +
 1 file changed, 1 insertion(+)
drivers/pinctrl/pinctrl-da850-pupd.c +1 -0
index b36a90a..921729b 100644
@@ -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	= {
Signature · 1 line
2.7.4
#1 lore raw
Quoted 4 lines · David Lechner

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

Patch applied.

Yours,
Linus Walleij