spi/spi_altera: fix build error
PATCH 1/1 spi/spi_altera: fix build error
I ran into a build error while attempting to build the Feb 22nd linux-next tree.
From: Andres Salomon <[email protected]>
Fix the following build error due to a missing semicolon:
CC [M] drivers/spi/spi_altera.odrivers/spi/spi_altera.c:308: error: expected ‘,’ or ‘;’ before ‘extern’ make[2]: *** [drivers/spi/spi_altera.o] Error 1
--- drivers/spi/spi_altera.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/spi/spi_altera.c +1 -1
@@ -304,7 +304,7 @@ static int __devexit altera_spi_remove(struct platform_device *dev)static const struct of_device_id altera_spi_match[] = { { .compatible ="ALTR,spi-1.0" , }, {}, -} +};MODULE_DEVICE_TABLE (of, altera_spi_match);#else /* CONFIG_OF */ #define altera_spi_match NULL
Signature · 1 line
1.7.2.3
Quoted 7 lines · On Tue, 22 Feb 2011 13:23:03 -0800 Andres Salomon wrote:
I ran into a build error while attempting to build the Feb 22nd linux-next tree.
From: Andres Salomon <[email protected]>
Quoted 7 lines
Fix the following build error due to a missing semicolon:
CC [M]
drivers/spi/spi_altera.odrivers/spi/spi_altera.c:308: error: expected ‘,’ or ‘;’ before ‘extern’ make[2]: *** [drivers/spi/spi_altera.o] Error 1Signed-off-by Andres Salomon <[email protected]>
so ignore my combined patch. Thanks.
Quoted 10 lines
--- drivers/spi/spi_altera.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/spi/spi_altera.c +0
-0
drivers/spi/spi_altera.c static int __devexit altera_spi_remove(struct platform_device *dev) · line 310
Quoted 8 lines
drivers/spi/spi_altera.c +1
-1@@ -304,7 +304,7 @@ static int __devexit altera_spi_remove(struct platform_device *dev)static const struct of_device_id altera_spi_match[] = { { .compatible ="ALTR,spi-1.0" , }, {}, -} +};MODULE_DEVICE_TABLE (of, altera_spi_match);#else /* CONFIG_OF */ #define altera_spi_match NULL
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***