[2.6 patch] poper prototype for arch/i386/pci/pcbios.c:pcibios_sort()
From: Adrian Bunk
Date: Wed Jun 28 2006 - 12:53:31 EST
This patch adds a proper prototype for pcibios_sort() in
arch/i386/pci/pci.h.
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
---
arch/i386/pci/common.c | 4 ----
arch/i386/pci/pci.h | 2 ++
2 files changed, 2 insertions(+), 4 deletions(-)
--- linux-2.6.17-mm2-full/arch/i386/pci/pci.h.old 2006-06-27 03:37:27.000000000 +0200
+++ linux-2.6.17-mm2-full/arch/i386/pci/pci.h 2006-06-27 03:37:43.000000000 +0200
@@ -85,3 +85,5 @@
extern void pci_pcbios_init(void);
extern void pci_mmcfg_init(void);
+void pcibios_sort(void);
+
--- linux-2.6.17-mm2-full/arch/i386/pci/common.c.old 2006-06-27 03:38:00.000000000 +0200
+++ linux-2.6.17-mm2-full/arch/i386/pci/common.c 2006-06-27 03:38:11.000000000 +0200
@@ -17,10 +17,6 @@
#include "pci.h"
-#ifdef CONFIG_PCI_BIOS
-extern void pcibios_sort(void);
-#endif
-
unsigned int pci_probe = PCI_PROBE_BIOS | PCI_PROBE_CONF1 | PCI_PROBE_CONF2 |
PCI_PROBE_MMCONF;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/