From: Randy Dunlap <rdunlap@xenotime.net>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-kernel@vger.kernel.org, Takashi Iwai <tiwai@suse.de>,
Andrew Morton <akpm@linux-foundation.org>,
David Airlie <airlied@linux.ie>
Subject: [PATCH] vga_switcheroo.h: fix pci_dev warning
Date: Fri, 15 Jun 2012 12:46:17 -0700 [thread overview]
Message-ID: <4FDB9109.7070001@xenotime.net> (raw)
In-Reply-To: <1339320244-22792-1-git-send-email-geert@linux-m68k.org>
From: Randy Dunlap <rdunlap@xenotime.net>
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>
Cc: David Airlie <airlied@linux.ie>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
include/linux/vga_switcheroo.h | 2 ++
1 file changed, 2 insertions(+)
--- lnx-35-rc2.orig/include/linux/vga_switcheroo.h
+++ lnx-35-rc2/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,
next prev parent reply other threads:[~2012-06-15 19:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-10 9:24 Build regressions/improvements in v3.5-rc2 Geert Uytterhoeven
2012-06-10 9:25 ` Geert Uytterhoeven
2012-06-15 19:46 ` Randy Dunlap [this message]
2012-06-18 9:04 ` [PATCH] vga_switcheroo.h: fix pci_dev warning Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FDB9109.7070001@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=airlied@linux.ie \
--cc=akpm@linux-foundation.org \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).