From: Greg KH To: torvalds@transmeta.com Cc: linux-kernel@vger.kernel.org, pcihpd-discuss@lists.sourceforge.net Subject: [BK PATCH] PCI changes for 2.5.30 Two small PCI changes, one for orginizational sake, and the other to fix a PCI hotplug bug (yes, the PCI Hotplug drivers still do not work, but CardBus might want this fix too :) Pull from: bk://linuxusb.bkbits.net/pci_hp-2.5 thanks, greg k-h drivers/pci/Makefile | 3 ++- drivers/pci/compat.c | 14 ++++++++++++++ drivers/pci/names.c | 10 +++++----- drivers/pci/pci.c | 12 ------------ 4 files changed, 21 insertions(+), 18 deletions(-) ChangeSet@1.515, 2002-08-02 16:45:14-07:00, t-kouchi@mvf.biglobe.ne.jp [PATCH] [PATCH] PCI Hotplug patch to drivers/pci/names.c I found that both compaq and ibm PCI hotplug driver call pci_scan_slot(), which eventually call pci_name_device() in drivers/pci/names.c. pci_name_device() is declared as __devinit while other data are declared as __initdata. This may result in undefined behavior for example, /proc/pci. drivers/pci/names.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) ------ ChangeSet@1.514, 2002-08-02 16:40:20-07:00, greg@kroah.com PCI: move the EXPORT_SYMBOL(pcibios_*) declarations to the proper file. drivers/pci/Makefile | 3 ++- drivers/pci/compat.c | 14 ++++++++++++++ drivers/pci/pci.c | 12 ------------ 3 files changed, 16 insertions(+), 13 deletions(-) ------