diff mbox

pinctrl: SPEAr310: Pass correct of_device_id table name to MODULE_DEVICE_TABLE

Message ID 1376978280.19775.1.camel@phoenix (mailing list archive)
State New, archived
Headers show

Commit Message

Axel Lin Aug. 20, 2013, 5:58 a.m. UTC
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.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/pinctrl/spear/pinctrl-spear310.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Viresh Kumar Aug. 20, 2013, 6:49 a.m. UTC | #1
On Tue, Aug 20, 2013 at 11:28 AM, Axel Lin <axel.lin@ingics.com> wrote:
> 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.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
>  drivers/pinctrl/spear/pinctrl-spear310.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Linus Walleij Aug. 21, 2013, 10:18 p.m. UTC | #2
On Tue, Aug 20, 2013 at 7:58 AM, Axel Lin <axel.lin@ingics.com> wrote:

> 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.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Patch applied with Viresh's ACK.

Yours,
Linus Walleij
diff mbox

Patch

diff --git a/drivers/pinctrl/spear/pinctrl-spear310.c b/drivers/pinctrl/spear/pinctrl-spear310.c
index 06c7e6f..ed1d360 100644
--- a/drivers/pinctrl/spear/pinctrl-spear310.c
+++ b/drivers/pinctrl/spear/pinctrl-spear310.c
@@ -430,4 +430,4 @@  module_exit(spear310_pinctrl_exit);
 MODULE_AUTHOR("Viresh Kumar <viresh.linux@gmail.com>");
 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);