[RFC PATCH 2/3] DMA, CMA: use general CMA reserved area management framework

Michal Nazarewicz mina86 at mina86.com
Wed Jun 11 01:24:55 PDT 2014

On Tue, Jun 10 2014, Joonsoo Kim <iamjoonsoo.kim at lge.com> wrote:
> Without including device.h, build failure occurs.
> In dma-contiguous.h, we try to access to dev->cma_area, so we need
> device.h. In the past, we included it luckily by swap.h in
> drivers/base/dma-contiguous.c. Swap.h includes node.h and then node.h
> includes device.h, so we were happy. But, in this patch, I remove
> 'include <linux/swap.h>' so we need to include device.h explicitly.


Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz    (o o)
ooo +--<mpn at google.com>--<xmpp:mina86 at jabber.org>--ooO--(_)--Ooo--

More information about the linux-arm-kernel mailing list