Skip to contentSkip to conversation

Input: serio: Compile error fix (altera_ps2.c)

PATCH In review Dustan Bower 4 participants 4 messages Feb 19, 2011 – Feb 20, 2011

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

PATCH 1/1 Input: serio: Compile error fix (altera_ps2.c)

Fixed compile error, today's linux-next tree:

CC [M] drivers/input/serio/altera_ps2.o
drivers/input/serio/altera_ps2.c:182:1: error: expected ‘,’ or ‘;’ before ‘extern’ make[1]: *** [drivers/input/serio/altera_ps2.o] Error 1
make: *** [_module_drivers/input/serio] Error 2

---
 drivers/input/serio/altera_ps2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/serio/altera_ps2.c +1 -1
index 3fee88b..d363dc4 100644
@@ -178,7 +178,7 @@ static int __devexit altera_ps2_remove(struct platform_device *pdev)
 static const struct of_device_id altera_ps2_match[] = {
 	{ .compatible = "ALTR,ps2-1.0", },
 	{},
-}
+};
 MODULE_DEVICE_TABLE(of, altera_ps2_match);
 #else /* CONFIG_OF */
 #define altera_ps2_match NULL
Signature · 6 lines
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
maintainer
#1 lore raw
Quoted 8 lines · Dustan Bower

Fixed compile error, today's linux-next tree:

CC [M] drivers/input/serio/altera_ps2.o
drivers/input/serio/altera_ps2.c:182:1: error: expected ‘,’ or ‘;’ before ‘extern’ make[1]: *** [drivers/input/serio/altera_ps2.o] Error 1
make: *** [_module_drivers/input/serio] Error 2

Thanks Dustan.

Grant, maybe you could amend the original patch so that we do not introduce bisection failure point?

Quoted 20 lines
---
 drivers/input/serio/altera_ps2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/serio/altera_ps2.c +1 -1
index 3fee88b..d363dc4 100644
@@ -178,7 +178,7 @@ static int __devexit altera_ps2_remove(struct platform_device *pdev)
 static const struct of_device_id altera_ps2_match[] = {
 	{ .compatible = "ALTR,ps2-1.0", },
 	{},
-}
+};
 MODULE_DEVICE_TABLE(of, altera_ps2_match);
 #else /* CONFIG_OF */
 #define altera_ps2_match NULL
Signature · 1 line
1.7.4.1
Signature · 5 lines
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
Quoted 8 lines · Dmitry Torokhov
Quoted 7 lines · Dustan Bower

Fixed compile error, today's linux-next tree:

  CC [M]  drivers/input/serio/altera_ps2.o drivers/input/serio/altera_ps2.c:182:1: error: expected ‘,’ or ‘;’ before ‘extern’ make[1]: *** [drivers/input/serio/altera_ps2.o] Error 1
make: *** [_module_drivers/input/serio] Error 2

Quoted 6 lines
Quoted 1 line

Thanks Dustan.

Grant, maybe you could amend the original patch so that we do not introduce bisection failure point?

done, thanks.

g.

Quoted 25 lines
Quoted 19 lines

---
 drivers/input/serio/altera_ps2.c |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/serio/altera_ps2.c +1 -2
index 3fee88b..d363dc4 100644
@@ -178,7 +178,7 @@ static int __devexit altera_ps2_remove(struct platform_device *pdev)
  static const struct of_device_id altera_ps2_match[] = {
       { .compatible = "ALTR,ps2-1.0", },
       {},
-}
+};
  MODULE_DEVICE_TABLE(of, altera_ps2_match);
  #else /* CONFIG_OF */
  #define altera_ps2_match NULL
--
Quoted 2 lines

1.7.4.1

--
Dmitry

Signature · 6 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw
Quoted 10 lines · On Sat, 19 Feb 2011 20:04:49 -0700 Grant Likely wrote:
Quoted 8 lines · Dmitry Torokhov
Quoted 7 lines · Dustan Bower

Fixed compile error, today's linux-next tree:

  CC [M]  drivers/input/serio/altera_ps2.o drivers/input/serio/altera_ps2.c:182:1: error: expected ‘,’ or ‘;’ before ‘extern’ make[1]: *** [drivers/input/serio/altera_ps2.o] Error 1
make: *** [_module_drivers/input/serio] Error 2

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Thanks Dustan.

Grant, maybe you could amend the original patch so that we do not introduce bisection failure point?

done, thanks.

Hi Grant,

Did you also fix drivers/spi/spi_oc_tiny.c and drivers/spi/spi_altera.c ? I hit those build errors when CONFIG_OF=y. Could there be others?

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code *** --
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html