All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] dmapool-declare-struct-device.patch removed from -mm tree
@ 2015-04-09 19:28 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2015-04-09 19:28 UTC (permalink / raw)
  To: broonie, mm-commits


The patch titled
     Subject: include/linux/dmapool.h: declare struct device
has been removed from the -mm tree.  Its filename was
     dmapool-declare-struct-device.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Mark Brown <broonie@kernel.org>
Subject: include/linux/dmapool.h: declare struct device

dmapool uses struct device in function arguments but relies on an implicit
inclusion to declare struct device causing warnings in some
configurations:

include/linux/dmapool.h:31:7: warning: 'struct device' declared inside parameter list

Fix this by adding a struct device declaration to the file.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/dmapool.h |    2 ++
 1 file changed, 2 insertions(+)

diff -puN include/linux/dmapool.h~dmapool-declare-struct-device include/linux/dmapool.h
--- a/include/linux/dmapool.h~dmapool-declare-struct-device
+++ a/include/linux/dmapool.h
@@ -14,6 +14,8 @@
 #include <asm/io.h>
 #include <asm/scatterlist.h>
 
+struct device;
+
 struct dma_pool *dma_pool_create(const char *name, struct device *dev, 
 			size_t size, size_t align, size_t allocation);
 
_

Patches currently in -mm which might be from broonie@kernel.org are

origin.patch
asoc-pcm512x-use-div_round_closest_ull-from-kernelh.patch
linux-next.patch
documentation-spi-spidev_testc-fix-warning.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-09 19:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-09 19:28 [merged] dmapool-declare-struct-device.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.