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.o
drivers/spi/spi_altera.c:308: error: expected ‘,’ or ‘;’ before ‘extern’
make[2]: *** [drivers/spi/spi_altera.o] Error 1

Signed-off-by: Andres Salomon <[email protected]>
---
 drivers/spi/spi_altera.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/spi/spi_altera.c b/drivers/spi/spi_altera.c
index 5e001f3..4813a63 100644
--- a/drivers/spi/spi_altera.c
+++ b/drivers/spi/spi_altera.c
@@ -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
-- 
1.7.2.3


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to