summaryrefslogtreecommitdiffstats
path: root/include/linux/vgaarb.h
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2012-01-30 11:43:52 -0800
committerDave Airlie <airlied@redhat.com>2012-04-11 09:36:00 +0100
commit6069a4c988d75c0fb309fa7da0909df2a222a65e (patch)
tree9d41616713da1f2baf6c31e45fe17b4e993106ef /include/linux/vgaarb.h
parentafceb9319f21b18ee3bc15ee9a5f92e18ef8a8c9 (diff)
downloadlinux-6069a4c988d75c0fb309fa7da0909df2a222a65e.tar.gz
linux-6069a4c988d75c0fb309fa7da0909df2a222a65e.tar.bz2
linux-6069a4c988d75c0fb309fa7da0909df2a222a65e.zip
vgaarb.h: fix build warnings
Fix build warnings by providing a struct stub since no fields of the struct are used: include/linux/vgaarb.h:66:9: warning: 'struct pci_dev' declared inside parameter list include/linux/vgaarb.h:66:9: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/vgaarb.h:99:34: warning: 'struct pci_dev' declared inside parameter list include/linux/vgaarb.h:109:6: warning: 'struct pci_dev' declared inside parameter list include/linux/vgaarb.h:121:8: warning: 'struct pci_dev' declared inside parameter list include/linux/vgaarb.h:140:37: warning: 'struct pci_dev' declared inside parameter list Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/linux/vgaarb.h')
-rw-r--r--include/linux/vgaarb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/vgaarb.h b/include/linux/vgaarb.h
index 9c3120dca294..b572f80bdfd5 100644
--- a/include/linux/vgaarb.h
+++ b/include/linux/vgaarb.h
@@ -47,6 +47,8 @@
*/
#define VGA_DEFAULT_DEVICE (NULL)
+struct pci_dev;
+
/* For use by clients */
/**