I can compile the driver successfully, May be you can cherry-pick this commit https://github.com/mmplayer/linux-sunxi/commit/82f7a2bda8a8adbbdca1850dfaf3df0f43ee2ee1
On Wednesday, July 2, 2014 5:47:39 AM UTC+8, bruce bushby wrote: > > Hi > > I wanted to ask if anybody has tried to build spi-sun7.c for mainline > kernels? > > I followed this excellent guide: > http://will-tm.com/spi-on-the-cubieboard2/ > > > ...but the compile fails with > > drivers/spi/spi-sun7i.c:30:22: fatal error: mach/dma.h: No such file or > directory > #include <mach/dma.h> > ^ > compilation terminated. > make[3]: *** [drivers/spi/spi-sun7i.o] Error 1 > make[3]: *** Waiting for unfinished jobs.... > > > I also noticed the Fedora 20 images doesn't support SPI for A20: > https://github.com/jwrdegoede/sunxi-fedora-scripts/blob/master/README > * SPI (as module, not supported on A20) > > > So now I'm a little worried as my entire project is built around 4 SPI > devices on an A20-SOM :) > > Any secret plans for full DMA + SPI in the works? > > > Bruce > > > > > > > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
