Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1227182 > unrolled thread

[PATCH 2/3] staging: comedi: drivers.c: replace #include <linux/dma-mapping.h>

Started byIan Abbott <abbotti@mev.co.uk>
First post2015-09-17 18:20 +0200
Last post2015-09-17 18:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/3] staging: comedi: drivers.c: replace #include <linux/dma-mapping.h> Ian Abbott <abbotti@mev.co.uk> - 2015-09-17 18:20 +0200

#1227182 — [PATCH 2/3] staging: comedi: drivers.c: replace #include <linux/dma-mapping.h>

FromIan Abbott <abbotti@mev.co.uk>
Date2015-09-17 18:20 +0200
Subject[PATCH 2/3] staging: comedi: drivers.c: replace #include <linux/dma-mapping.h>
Message-ID<q9K4G-np-9@gated-at.bofh.it>
Comedi's "drivers.c" doesn't use anything from `<linux/dma-mapping.h>`,
but it does use `DMA_NONE` from `<linux/dma-direction.h>`, so replace
the appropriate `#include` directive.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
---
 drivers/staging/comedi/drivers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/comedi/drivers.c b/drivers/staging/comedi/drivers.c
index e3b9957..7118117 100644
--- a/drivers/staging/comedi/drivers.c
+++ b/drivers/staging/comedi/drivers.c
@@ -23,7 +23,7 @@
 #include <linux/kernel.h>
 #include <linux/ioport.h>
 #include <linux/slab.h>
-#include <linux/dma-mapping.h>
+#include <linux/dma-direction.h>
 #include <linux/interrupt.h>
 #include <linux/firmware.h>
 
-- 
2.5.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web