[Linux-Xtensa] [PATCH] xtensa: Provide dummy dma_alloc_attrs() and dma_free_attrs()
Max Filippov
jcmvbkbc at gmail.com
Wed Apr 22 15:39:33 UTC 2015
On Tue, Apr 21, 2015 at 11:11 PM, Guenter Roeck <linux at roeck-us.net> wrote:
> 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.
>
> Signed-off-by: Guenter Roeck <linux at roeck-us.net>
Acked-by: Max Filippov <jcmvbkbc at gmail.com>
--
Thanks.
-- Max
More information about the linux-xtensa
mailing list