diff options
| author | Bin Meng <[email protected]> | 2021-02-25 17:22:22 +0800 |
|---|---|---|
| committer | Priyanka Jain <[email protected]> | 2021-03-05 10:25:42 +0530 |
| commit | 7365a03804ed48a827e91141f3b07f11e20572eb (patch) | |
| tree | 2b93fcd6992f5f3cdbeed289f97352b9d1d89ddc /include/linux/linux_string.h | |
| parent | 714555374f2ff889cecbde62938a17e9678a0f09 (diff) | |
pci: fsl_pci_init: Dynamically allocate the PCI regions
Commit e002474158d1 ("pci: pci-uclass: Dynamically allocate the PCI regions")
changes 'struct pci_controller'.regions from pre-allocated array of
regions to dynamically allocated, which unfortunately broken lots of
boards that still use the non-DM PCI driver.
This patch changes the non-DM fsl_pci_init driver to dynamically
allocate the regions, just like what's done in the pci uclass driver.
Fixes: e002474158d1 ("pci: pci-uclass: Dynamically allocate the PCI regions")
Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Priyanka Jain <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
