Skip to contentSkip to conversation

pinctrl: SPEAr310: Pass correct of_device_id table name to MODULE_DEVICE_TABLE

PATCH New Axel Lin 3 participants 3 messages Aug 20, 2013 – Aug 21, 2013

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 pinctrl: SPEAr310: Pass correct of_device_id table name to MODULE_DEVICE_TABLE

The symbol SPEAr310_pinctrl_of_match does not exist at all. Fix it. We didn't hit the compile error because this driver can only be built-in now.

---
 drivers/pinctrl/spear/pinctrl-spear310.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/spear/pinctrl-spear310.c +1 -1
index 06c7e6f..ed1d360 100644
@@ -430,4 +430,4 @@ module_exit(spear310_pinctrl_exit);
 MODULE_AUTHOR("Viresh Kumar <[email protected]>");
 MODULE_DESCRIPTION("ST Microelectronics SPEAr310 pinctrl driver");
 MODULE_LICENSE("GPL v2");
-MODULE_DEVICE_TABLE(of, SPEAr310_pinctrl_of_match);
+MODULE_DEVICE_TABLE(of, spear310_pinctrl_of_match);
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 pinctrl: SPEAr310: Pass correct of_device_id table name to MODULE_DEVICE_TABLE

Quoted 7 lines · Axel Lin

The symbol SPEAr310_pinctrl_of_match does not exist at all. Fix it. We didn't hit the compile error because this driver can only be built-in now.

---
 drivers/pinctrl/spear/pinctrl-spear310.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#2 lore raw

PATCH 1/1 pinctrl: SPEAr310: Pass correct of_device_id table name to MODULE_DEVICE_TABLE

In reply to Axel Lin
Quoted 4 lines · Axel Lin

The symbol SPEAr310_pinctrl_of_match does not exist at all. Fix it. We didn't hit the compile error because this driver can only be built-in now.

Patch applied with Viresh's ACK.

Yours,
Linus Walleij