diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2012-06-15 15:46:17 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-16 06:11:25 -0400 |
commit | f8fee8f5acb5c3f82e02f2ae139a6f1e7b4eb583 (patch) | |
tree | 1d8d88372f97cce670c91681df7417143867c86f /include/linux/vga_switcheroo.h | |
parent | e5a867a51d9b009f90d5dca6a320608e4e8a37ec (diff) |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/vga_switcheroo.h b/include/linux/vga_switcheroo.h index 60da41fe9dc2..d844b7790ea6 100644 --- a/include/linux/vga_switcheroo.h +++ b/include/linux/vga_switcheroo.h | |||
@@ -9,6 +9,8 @@ | |||
9 | 9 | ||
10 | #include <linux/fb.h> | 10 | #include <linux/fb.h> |
11 | 11 | ||
12 | struct pci_dev; | ||
13 | |||
12 | enum vga_switcheroo_state { | 14 | enum vga_switcheroo_state { |
13 | VGA_SWITCHEROO_OFF, | 15 | VGA_SWITCHEROO_OFF, |
14 | VGA_SWITCHEROO_ON, | 16 | VGA_SWITCHEROO_ON, |