On 06/27/2013 05:27 PM, Chen Gang wrote: > On 06/27/2013 04:30 PM, Arnd Bergmann wrote: >> > 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. >> > Oh, sorry, the reply below is incorrect, I will check it, again, thanks. > But m32r really has pci.h, and also can cause this issue. -- Chen Gang -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html