summaryrefslogtreecommitdiffstats
path: root/include/linux/vga_switcheroo.h
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2012-06-15 12:46:17 -0700
committerDave Airlie <airlied@redhat.com>2012-06-16 11:11:25 +0100
commitf8fee8f5acb5c3f82e02f2ae139a6f1e7b4eb583 (patch)
tree1d8d88372f97cce670c91681df7417143867c86f /include/linux/vga_switcheroo.h
parente5a867a51d9b009f90d5dca6a320608e4e8a37ec (diff)
downloadop-kernel-dev-f8fee8f5acb5c3f82e02f2ae139a6f1e7b4eb583.zip
op-kernel-dev-f8fee8f5acb5c3f82e02f2ae139a6f1e7b4eb583.tar.gz
vga_switcheroo.h: fix pci_dev warning
Fix warnings on some architectures/configs (not on x86): include/linux/vga_switcheroo.h:28:30: warning: 'struct pci_dev' declared inside parameter list [enabled by default] include/linux/vga_switcheroo.h:28:30: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Cc: Takashi Iwai <tiwai@suse.de> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/linux/vga_switcheroo.h')
-rw-r--r--include/linux/vga_switcheroo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/vga_switcheroo.h b/include/linux/vga_switcheroo.h
index 60da41f..d844b779 100644
--- a/include/linux/vga_switcheroo.h
+++ b/include/linux/vga_switcheroo.h
@@ -9,6 +9,8 @@
#include <linux/fb.h>
+struct pci_dev;
+
enum vga_switcheroo_state {
VGA_SWITCHEROO_OFF,
VGA_SWITCHEROO_ON,
OpenPOWER on IntegriCloud