mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
Build the Tegra PCI EPF driver fails with Linux v5.14 because the pci_epf_alloc/free_space() have the incorrect number of arguments. The arguments to the pci_epf_alloc/free_space() functions were updated in Linux v5.12 but the current Tegra PCI EPF driver assumes that they were updating after Linux v5.14. Update the Tegra PCI EPF driver to use the correct arguments for v5.12 onwards. Bug 3820317 Change-Id: Ieba44bfc22e0f978a5ff227b6d07a6a56ad23f3b Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2791670 Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
1.5 KiB
1.5 KiB