]> err.no Git - linux-2.6/commitdiff
git-libata-all: forward declare struct device
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 3 Feb 2007 02:07:15 +0000 (18:07 -0800)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 22:39:38 +0000 (17:39 -0500)
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>
include/linux/io.h

index 45a9c944cb0ad2b2e49a9d7ba8a389693631e840..9e419ebfc98b86c009ec2a51823bc880d0c226cd 100644 (file)
@@ -22,6 +22,8 @@
 #include <asm/io.h>
 #include <asm/page.h>
 
+struct device;
+
 void __iowrite32_copy(void __iomem *to, const void *from, size_t count);
 void __iowrite64_copy(void __iomem *to, const void *from, size_t count);