diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2024-05-28 12:54:58 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2024-06-13 11:14:43 +0200 |
commit | b5c29fba72a6c950655d1cb0f6aa16b60dc83be7 (patch) | |
tree | f2832b3b3014fc125d6083b4034084e0eee2a56a /drivers/usb/cdns3/cdns3-starfive.c | |
parent | 83a7eefedc9b56fe7bfeff13b6c7356688ffa670 (diff) |
iommu: Make iommu_sva_domain_alloc() static
iommu_sva_domain_alloc() is only called in iommu-sva.c, hence make it
static.
On the other hand, iommu_sva_domain_alloc() should not return NULL anymore
after commit <80af5a452024> ("iommu: Add ops->domain_alloc_sva()"), the
removal of inline code avoids potential confusion.
Fixes: 80af5a452024 ("iommu: Add ops->domain_alloc_sva()")
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20240528045458.81458-1-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions