Skip to content

Commit 53f1fb0

Browse files
hegdevasantjoergroedel
authored andcommitted
iommu/amd: Make amd_iommu_is_attach_deferred() static
amd_iommu_is_attach_deferred() is a callback function called by iommu_ops. Make it as static. No functional changes intended. Signed-off-by: Vasant Hegde <[email protected]> Reviewed-by: Suravee Suthikulpanit <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent fdc39b7 commit 53f1fb0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

drivers/iommu/amd/amd_iommu.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ static inline struct protection_domain *to_pdomain(struct iommu_domain *dom)
180180
}
181181

182182
bool translation_pre_enabled(struct amd_iommu *iommu);
183-
bool amd_iommu_is_attach_deferred(struct device *dev);
184183
int __init add_special_device(u8 type, u8 id, u32 *devid, bool cmd_line);
185184

186185
#ifdef CONFIG_DMI

drivers/iommu/amd/iommu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2782,7 +2782,7 @@ static void amd_iommu_get_resv_regions(struct device *dev,
27822782
list_add_tail(&region->list, head);
27832783
}
27842784

2785-
bool amd_iommu_is_attach_deferred(struct device *dev)
2785+
static bool amd_iommu_is_attach_deferred(struct device *dev)
27862786
{
27872787
struct iommu_dev_data *dev_data = dev_iommu_priv_get(dev);
27882788

0 commit comments

Comments
 (0)