android_kernel_xiaomi_sdm845/drivers/pci/pcie
Rafael J. Wysocki 1bf83e558c PCI: PCIe portdrv: Use driver data to simplify code
PCI Express port driver extension, as defined by struct
pcie_port_device_ext in portdrv.h, is allocated and initialized, but
never used (it also is never freed).  Extend it to hold the PCI Express
port type as well as the port interrupt mode, change its name and use it
to simplify the code in portdrv_core.c .

Additionally, remove the redundant interrupt_mode member of struct
pcie_device defined in include/linux/pcieport_if.h .

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-03-19 19:29:20 -07:00
..
aer PCIe: AER: during disable, check subordinate before walking 2009-03-12 15:09:51 -04:00
aspm.c PCI: properly clean up ASPM link state on device remove 2009-02-04 16:58:40 -08:00
Kconfig PCI Express ASPM support should default to 'No' 2008-04-23 15:41:14 -07:00
Makefile PCI: add PCI Express ASPM support 2008-04-20 21:47:03 -07:00
portdrv_bus.c PCI: PCIe portdrv: Rearrange code so that related things are together 2009-01-07 11:13:27 -08:00
portdrv_core.c PCI: PCIe portdrv: Use driver data to simplify code 2009-03-19 19:29:20 -07:00
portdrv_pci.c PCIe: portdrv: call pci_disable_device during remove 2009-03-12 15:42:35 -04:00
portdrv.h PCI: PCIe portdrv: Use driver data to simplify code 2009-03-19 19:29:20 -07:00