[2.6 patch] poper prototype for arch/i386/pci/pcbios.c:pcibios_sort()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch adds a proper prototype for pcibios_sort() in 
arch/i386/pci/pci.h.

Signed-off-by: Adrian Bunk <[email protected]>

---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux