[PATCH] spi/spi_oc_tiny: fix build error

From: Andres Salomon
Date: Tue Feb 22 2011 - 16:24:46 EST



Fix the following build error due to a missing semicolon:

CC [M] drivers/spi/spi_oc_tiny.o
drivers/spi/spi_oc_tiny.c:394: error: expected â,â or â;â before âexternâ
make[2]: *** [drivers/spi/spi_oc_tiny.o] Error 1

Signed-off-by: Andres Salomon <dilinger@xxxxxxxxxx>
---
drivers/spi/spi_oc_tiny.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/spi/spi_oc_tiny.c b/drivers/spi/spi_oc_tiny.c
index e99e545..f1bde66 100644
--- a/drivers/spi/spi_oc_tiny.c
+++ b/drivers/spi/spi_oc_tiny.c
@@ -390,7 +390,7 @@ static int __devexit tiny_spi_remove(struct platform_device *pdev)
static const struct of_device_id tiny_spi_match[] = {
{ .compatible = "opencores,tiny-spi-rtlsvn2", },
{},
-}
+};
MODULE_DEVICE_TABLE(of, tiny_spi_match);
#else /* CONFIG_OF */
#define tiny_spi_match NULL
--
1.7.2.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/