Re: [PATCH] xtensa: Provide dummy dma_alloc_attrs() and dma_free_attrs()

From: Max Filippov
Date: Wed Apr 22 2015 - 11:39:39 EST


On Tue, Apr 21, 2015 at 11:11 PM, Guenter Roeck <linux@xxxxxxxxxxxx> 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@xxxxxxxxxxxx>

Acked-by: Max Filippov <jcmvbkbc@xxxxxxxxx>

--
Thanks.
-- Max
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/