From: Geert Uytterhoeven Date: Fri, 24 Apr 2015 07:44:15 +0000 (+0200) Subject: staging: fbtft: Disable DMA support if DMA is not available X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~993 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e1a4c7f718e5de5019cb5ce6ada657ce1b5ea89;p=pandora-kernel.git staging: fbtft: Disable DMA support if DMA is not available 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed