From: Guenter Roeck Date: Mon, 4 May 2015 22:30:47 +0000 (-0700) Subject: xtensa: Provide dummy dma_alloc_attrs() and dma_free_attrs() X-Git-Tag: omap-for-v4.3/legacy-v2-signed~293^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e74993aef4411995960052506a000f94411a7103;p=pandora-kernel.git xtensa: Provide dummy dma_alloc_attrs() and dma_free_attrs() xtensa:allmodconfig fails to build with the following errors. drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c: In function ‘gk20a_instobj_dtor_dma’: drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c:154:2: error: implicit declaration of function ‘dma_free_attrs’ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c: In function ‘gk20a_instobj_ctor_dma’: drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c:218:2: error: implicit declaration of function ‘dma_alloc_attrs’ Xtensa does not provide those functions at this time. Provide dummy implementations to avoid build errors. Acked-by: Max Filippov Signed-off-by: Guenter Roeck Signed-off-by: Chris Zankel --- Reading git-diff-tree failed