[merged] dmapool-declare-struct-device.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
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@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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@xxxxxxxxxx are

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

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux