linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] spi/spi_altera: fix build error
@ 2011-02-22 21:23 Andres Salomon
  2011-02-22 21:37 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Andres Salomon @ 2011-02-22 21:23 UTC (permalink / raw)
  To: David Brownell
  Cc: Grant Likely, spi-devel-general, linux-kernel, Stephen Rothwell

I ran into a build error while attempting to build the Feb 22nd
linux-next tree.



From: Andres Salomon <dilinger@queued.net>

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 <dilinger@queued.net>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-22 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-22 21:23 [PATCH] spi/spi_altera: fix build error Andres Salomon
2011-02-22 21:37 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).