Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757476Ab2FOTqg (ORCPT ); Fri, 15 Jun 2012 15:46:36 -0400 Received: from oproxy8-pub.bluehost.com ([69.89.22.20]:52173 "HELO oproxy8-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1757440Ab2FOTqf (ORCPT ); Fri, 15 Jun 2012 15:46:35 -0400 Message-ID: <4FDB9109.7070001@xenotime.net> Date: Fri, 15 Jun 2012 12:46:17 -0700 From: Randy Dunlap User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9 MIME-Version: 1.0 To: Geert Uytterhoeven CC: linux-kernel@vger.kernel.org, Takashi Iwai , Andrew Morton , David Airlie Subject: [PATCH] vga_switcheroo.h: fix pci_dev warning References: <1339320244-22792-1-git-send-email-geert@linux-m68k.org> In-Reply-To: <1339320244-22792-1-git-send-email-geert@linux-m68k.org> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1103 Lines: 31 From: Randy Dunlap 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 Cc: Takashi Iwai Cc: David Airlie Reported-by: Geert Uytterhoeven --- 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 +struct pci_dev; + enum vga_switcheroo_state { VGA_SWITCHEROO_OFF, VGA_SWITCHEROO_ON, -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/