From: Adrian Bunk Date: Tue, 11 Dec 2007 22:19:41 +0000 (+0100) Subject: PCI: drivers/pci/msi.c: move arch hooks to the top X-Git-Tag: v2.6.25-rc1~1074^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a9e7f203187e22e96588fa0156b2652841196bf;p=pandora-kernel.git PCI: drivers/pci/msi.c: move arch hooks to the top This patch fixes the following problem present with older gcc versions: <-- snip --> ... CC drivers/pci/msi.o /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/pci/msi.c:692: warning: weak declaration of `arch_msi_check_device' after first use results in unspecified behavior /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/pci/msi.c:704: warning: weak declaration of `arch_setup_msi_irqs' after first use results in unspecified behavior /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/pci/msi.c:724: warning: weak declaration of `arch_teardown_msi_irqs' after first use results in unspecified behavior ... <-- snip --> Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed