diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2026-10-13 17:04:20 -0500 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-10-14 15:33:48 -0500 |
| commit | 39d1c645bb99d8bd7e6f5b0183b192f30c88d917 (patch) | |
| tree | 2808b242bd61f899bd33bebd740e1bd814273e2f /rust/kernel/alloc | |
| parent | cee9395acd8043be0644b25c34bfa86623f2b935 (diff) | |
PCI: Expose devm_pci_alloc_host_bridge_release()
devm_pci_alloc_host_bridge() allocates a struct pci_host_bridge and also
parses device tree resources and claims them. There are drivers, e.g.,
pcie-iproc-bcma.c, that need to allocate a pci_host_bridge but do not need
device tree resources.
Expose devm_pci_alloc_host_bridge_release() so they can avoid the device
tree parts by calling pci_alloc_host_bridge() directly and adding the devm
release function manually.
[bhelgaas: add EXPORT_SYMBOL]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Link: https://patch.msgid.link/20261013220421.1588051-2-bhelgaas@google.com
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
