Re: [PATCH] staging: fbtft: Disable DMA support if DMA is not available

2015-04-23 Thread Geert Uytterhoeven
On Thu, Apr 23, 2015 at 8:27 PM, Greg Kroah-Hartman wrote: > On Thu, Apr 23, 2015 at 08:06:52PM +0200, Geert Uytterhoeven wrote: >> If NO_DMA=y: >> >> drivers/built-in.o: In function `fbtft_framebuffer_alloc': >> (.text+0xb53cae): undefined reference to `dmam_alloc_coherent' >> >> As DMA s

Re: [PATCH] staging: fbtft: Disable DMA support if DMA is not available

2015-04-23 Thread Greg Kroah-Hartman
On Thu, Apr 23, 2015 at 08:06:52PM +0200, Geert Uytterhoeven wrote: > If NO_DMA=y: > > drivers/built-in.o: In function `fbtft_framebuffer_alloc': > (.text+0xb53cae): undefined reference to `dmam_alloc_coherent' > > As DMA support is already optional, make it depend on HAS_DMA. > > Signed

[PATCH] staging: fbtft: Disable DMA support if DMA is not available

2015-04-23 Thread Geert Uytterhoeven
If NO_DMA=y: drivers/built-in.o: In function `fbtft_framebuffer_alloc': (.text+0xb53cae): undefined reference to `dmam_alloc_coherent' As DMA support is already optional, make it depend on HAS_DMA. Signed-off-by: Geert Uytterhoeven --- drivers/staging/fbtft/fbtft-core.c | 4 1 fil