Input: serio: Compile error fix (altera_ps2.c)
Subsystems (2)
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.odrivers/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
@@ -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
Dmitry Torokhov
maintainerQuoted 8 lines · Dustan Bower
Fixed compile error, today's linux-next tree:
CC [M]
drivers/input/serio/altera_ps2.odrivers/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 2Signed-off-by Dustan Bower <[email protected]>
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@@ -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 NULLSignature · 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
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
Signed-off-by Dustan Bower <[email protected]>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@@ -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
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
Signed-off-by Dustan Bower <[email protected]>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