On 05/05/2015 02:16 PM, Antony Pavlov wrote: > Just out of curiosity, why we need "#define dma_alloc dma_alloc" in dma-related header files? > > E.g. > > barebox$ git grep "#define dma_alloc dma_alloc" > arch/arm/include/asm/dma.h:#define dma_alloc dma_alloc > arch/nios2/include/asm/dma-mapping.h:#define dma_alloc dma_alloc Look if there's a matching "#ifdef dma_alloc". Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |