Re: [PATCH] arch: m32r: include: asm: add "dma-mapping-common.h"
From: Arnd Bergmann
Date: Thu Jun 27 2013 - 04:29:39 EST
On Thursday 27 June 2013 12:50:59 Chen Gang wrote:
> Need add generic "dma-mapping-common.h", or compiling may fail.
>
> The related error (with allmodconfig):
>
> CC [M] net/irda/irlan/irlan_eth.o
> drivers/media/v4l2-core/videobuf2-dma-contig.c: In function âvb2_dc_mmapâ:
> drivers/media/v4l2-core/videobuf2-dma-contig.c:202:2: error: implicit declaration of function âdma_mmap_coherentâ [-Werror=implicit-function-declaration]
> drivers/media/v4l2-core/videobuf2-dma-contig.c: In function âvb2_dc_get_base_sgtâ:
> drivers/media/v4l2-core/videobuf2-dma-contig.c:385:2: error: implicit declaration of function âdma_get_sgtableâ [-Werror=implicit-function-declaration]
>
>
> Signed-off-by: Chen Gang <gang.chen@xxxxxxxxxxx>
m32r does not provide the "common" version of the dma mapping API, so this
is certainly wrong.
Arnd
--
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/