android_kernel_xiaomi_sm8350/drivers/pci
Greg Kroah-Hartman cc74d96f47 PCI: fix issue with busses registering multiple times in sysfs
PCI busses can be registered multiple times, so we need to detect if we
have registered our bus structure in sysfs already.  If so, don't do it
again.

Thanks to Guennadi Liakhovetski <g.liakhovetski@gmx.de> for reporting
the problem, and to Linus for poking me to get me to believe that it was
a real problem.

Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-03-13 10:21:09 -07:00
..
hotplug PCI Hotplug: Fix small mem leak in IBM Hot Plug Controller Driver 2008-03-10 16:38:02 -07:00
pcie Revert "PCI: PCIE ASPM support" 2008-02-02 11:32:01 -08:00
.gitignore
access.c
bus.c PCI: fix issue with busses registering multiple times in sysfs 2008-03-13 10:21:09 -07:00
dmar.c copyright owner and author clean up for intel iommu and related files 2008-02-23 17:12:14 -08:00
hotplug-pci.c PCI: fix section mismatch warning in pci_scan_child_bus 2008-03-04 15:07:03 -08:00
hotplug.c
htirq.c
intel-iommu.c copyright owner and author clean up for intel iommu and related files 2008-02-23 17:12:14 -08:00
intel-iommu.h copyright owner and author clean up for intel iommu and related files 2008-02-23 17:12:14 -08:00
iova.c copyright owner and author clean up for intel iommu and related files 2008-02-23 17:12:14 -08:00
iova.h copyright owner and author clean up for intel iommu and related files 2008-02-23 17:12:14 -08:00
Kconfig
Makefile mn10300: add the MN10300/AM33 architecture to the kernel 2008-02-08 09:22:30 -08:00
msi.c PCI: drivers/pci/msi.c: move arch hooks to the top 2008-02-01 15:04:25 -08:00
msi.h
pci-acpi.c PCI: kernel-doc: fix pci-acpi warning 2008-02-21 15:34:37 -08:00
pci-driver.c PCI: Mem Policy: fix mempolicy usage in pci driver 2008-02-01 15:04:20 -08:00
pci-sysfs.c Revert "PCI: PCIE ASPM support" 2008-02-02 11:32:01 -08:00
pci.c PM: Introduce PM_EVENT_HIBERNATE callback state 2008-02-23 10:40:04 -08:00
pci.h PCI: make pci_bus a struct device 2008-02-01 15:04:31 -08:00
probe.c PCI: fix section mismatch warning in pci_scan_child_bus 2008-03-04 15:07:03 -08:00
proc.c PCI: Fix wrong reference counter check for proc_dir_entry 2008-02-21 15:34:39 -08:00
quirks.c PCI: consolidate duplicated MSI enable functions 2008-03-04 15:07:03 -08:00
remove.c Revert "PCI: PCIE ASPM support" 2008-02-02 11:32:01 -08:00
rom.c docbook: fix kernel-api source files 2008-03-03 10:47:14 -08:00
search.c
setup-bus.c PCI: fix up setup-bus.c #ifdef 2008-02-21 15:34:38 -08:00
setup-irq.c
setup-res.c PCI: Fix warning in setup-res.c on 32-bit platforms with 64-bit resources 2008-02-01 15:04:25 -08:00
syscall.c PCI: remove unneeded lock_kernel() in drivers/pci/syscall.c. 2008-02-01 15:04:21 -08:00