#define dma_alloc dma_alloc

Marc Kleine-Budde mkl at pengutronix.de
Tue May 5 05:13:16 PDT 2015


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   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20150505/09c5158e/attachment-0001.sig>


More information about the barebox mailing list