aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd_iommu_init.c
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2015-08-13 11:31:48 +0200
committerJoerg Roedel <jroedel@suse.de>2015-08-13 19:49:10 +0200
commit4160cd9e5ef9ac9f1c9c429e1606bf08a56c8a49 (patch)
treee425a2e327d5957459a7945b2f644be1f0fa1eb3 /drivers/iommu/amd_iommu_init.c
parentiommu/amd: Simplify allocation in irq_remapping_alloc() (diff)
downloadlinux-dev-4160cd9e5ef9ac9f1c9c429e1606bf08a56c8a49.tar.xz
linux-dev-4160cd9e5ef9ac9f1c9c429e1606bf08a56c8a49.zip
iommu/amd: Make a symbol static
Symbol is only used in that file and can be static. Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu_init.c')
-rw-r--r--drivers/iommu/amd_iommu_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c
index a24495eb4e26..5ef347a13cb5 100644
--- a/drivers/iommu/amd_iommu_init.c
+++ b/drivers/iommu/amd_iommu_init.c
@@ -154,7 +154,7 @@ bool amd_iommu_iotlb_sup __read_mostly = true;
u32 amd_iommu_max_pasid __read_mostly = ~0;
bool amd_iommu_v2_present __read_mostly;
-bool amd_iommu_pc_present __read_mostly;
+static bool amd_iommu_pc_present __read_mostly;
bool amd_iommu_force_isolation __read_mostly;