I use the below command:
make menuconfig
make -j8
then the building are some error,is below,please help me solve this question.
include/asm-generic/dma-mapping-common.h: In function ‘dma_free_attrs’:
include/asm-generic/dma-mapping-common.h:282:22: error: macro “dma_release_from_coherent_attr” passed 5 arguments, but takes just 4
attrs, dma_handle))
^
include/asm-generic/dma-mapping-common.h:281:6: error: ‘dma_release_from_coherent_attr’ undeclared (first use in this function)
if (dma_release_from_coherent_attr(dev, size, cpu_addr,
^
include/asm-generic/dma-mapping-common.h:281:6: note: each undeclared identifier is reported only once for each function it appears in