Thread (14 messages) flat view 14 messages, 4 authors, 2014-06-11

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

From: Michal Nazarewicz <hidden>
Date: 2014-06-03 07:01:00
Also in: kvm, linux-arm-kernel, linux-mm, lkml

On Tue, Jun 03 2014, Joonsoo Kim wrote:
Now, we have general CMA reserved area management framework,
so use it for future maintainabilty. There is no functional change.

Signed-off-by: Joonsoo Kim <redacted>
Acked-by: Michal Nazarewicz <redacted>
quoted hunk ↗ jump to hunk
diff --git a/include/linux/dma-contiguous.h b/include/linux/dma-contiguou=
s.h
quoted hunk ↗ jump to hunk
index dfb1dc9..ecb85ac 100644
--- a/include/linux/dma-contiguous.h
+++ b/include/linux/dma-contiguous.h
@@ -53,9 +53,10 @@
=20=20
 #ifdef __KERNEL__
=20=20
+#include <linux/device.h>
+
Why is this suddenly required?
 struct cma;
 struct page;
-struct device;
=20=20
 #ifdef CONFIG_DMA_CMA
--=20
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=3D./ `o
..o | Computer Science,  Micha=C5=82 =E2=80=9Cmina86=E2=80=9D Nazarewicz   =
 (o o)
ooo +--[off-list ref]--<xmpp:mina86@jabber.org>--ooO--(_)--Ooo--
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help