Commit e7fc2383 authored by Joerg Roedel's avatar Joerg Roedel

iommu/amd: Make amd_iommu_apply_ivrs_quirks() static inline

At least the version in the header file to fix a compile warning about
the function being unused.
Reported-by: default avatarBorislav Petkov <bp@suse.de>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
Link: https://lore.kernel.org/r/20200630124611.23153-1-joro@8bytes.org
parent c7451e49
...@@ -102,7 +102,7 @@ extern int __init add_special_device(u8 type, u8 id, u16 *devid, ...@@ -102,7 +102,7 @@ extern int __init add_special_device(u8 type, u8 id, u16 *devid,
#ifdef CONFIG_DMI #ifdef CONFIG_DMI
void amd_iommu_apply_ivrs_quirks(void); void amd_iommu_apply_ivrs_quirks(void);
#else #else
static void amd_iommu_apply_ivrs_quirks(void) { } static inline void amd_iommu_apply_ivrs_quirks(void) { }
#endif #endif
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment