On Tue, Feb 22, 2011 at 2:35 PM, Randy Dunlap <[email protected]> wrote: > On Tue, 22 Feb 2011 13:24:38 -0800 Andres Salomon wrote: > >> 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 <[email protected]> > > Acked-by: Randy Dunlap <[email protected]> > > Same fix is needed for drivers/spi/spi_altera.c. > I already had this patch ready to send. Grant, can you extract > the spi_altera.c patch...?
done. Will be pushed out when I finish testing. g. > > > --- > From: Randy Dunlap <[email protected]> > > Fix build error due to missing semi-colon: > > drivers/spi/spi_altera.c:308: error: expected ',' or ';' before 'extern' > drivers/spi/spi_oc_tiny.c:394: error: expected ',' or ';' before 'extern' > > Signed-off-by: Randy Dunlap <[email protected]> > --- > drivers/spi/spi_altera.c | 2 +- > drivers/spi/spi_oc_tiny.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > --- linux-next-20110222.orig/drivers/spi/spi_oc_tiny.c > +++ linux-next-20110222/drivers/spi/spi_oc_tiny.c > @@ -390,7 +390,7 @@ static int __devexit tiny_spi_remove(str > 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 > --- linux-next-20110222.orig/drivers/spi/spi_altera.c > +++ linux-next-20110222/drivers/spi/spi_altera.c > @@ -304,7 +304,7 @@ static int __devexit altera_spi_remove(s > 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 > > -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. ------------------------------------------------------------------------------ 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
