summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>2019-03-29 14:59:26 +0300
committerBjorn Helgaas <bhelgaas@google.com>2019-05-07 16:59:49 +0300
commitfe23274f72f4e3be93134aac0ae1e1fd522f438a (patch)
tree1f0d1b32f08c82610e5c2cba2f46365fc5f5476b /Kconfig
parente6fdd3bf5aecd8615f31a5128775b9abcf3e0d86 (diff)
downloadlinux-fe23274f72f4e3be93134aac0ae1e1fd522f438a.tar.xz
PCI: dwc: Save root bus for driver remove hooks
Currently DWC host does not support the remove callback, but nothing prevents us from supporting it. Save the root bus for clean up work in driver remove code paths to allow DWC host drivers to implement their remove hook as, eg: static int foo_pcie_remove(struct platform_device *pdev) { ... pci_stop_root_bus(pp->root_bus); pci_remove_root_bus(pp->root_bus); dw_pcie_free_msi(pp); ... } Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions