diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-02-02 21:07:15 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-09 17:39:38 -0500 |
commit | 7f25377043925554cb9f3f9d8ada3390f71a5d10 (patch) | |
tree | d856da36a6649f41d132dae134fdf7743292bcb8 /include/linux/io.h | |
parent | 0d5ff566779f894ca9937231a181eb31e4adff0e (diff) |
git-libata-all: forward declare struct device
In file included from drivers/infiniband/hw/ipath/ipath_diag.c:44:
include/linux/io.h:35: warning: 'struct device' declared inside parameter list
include/linux/io.h:35: warning: its scope is only this definition or declaration
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/io.h')
-rw-r--r-- | include/linux/io.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/io.h b/include/linux/io.h index 45a9c944cb0a..9e419ebfc98b 100644 --- a/include/linux/io.h +++ b/include/linux/io.h | |||
@@ -22,6 +22,8 @@ | |||
22 | #include <asm/io.h> | 22 | #include <asm/io.h> |
23 | #include <asm/page.h> | 23 | #include <asm/page.h> |
24 | 24 | ||
25 | struct device; | ||
26 | |||
25 | void __iowrite32_copy(void __iomem *to, const void *from, size_t count); | 27 | void __iowrite32_copy(void __iomem *to, const void *from, size_t count); |
26 | void __iowrite64_copy(void __iomem *to, const void *from, size_t count); | 28 | void __iowrite64_copy(void __iomem *to, const void *from, size_t count); |
27 | 29 | ||