summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
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
parenta130e69f28ba1d180242b581a15d09f06dad9227 (diff)
downloadop-kernel-dev-4160cd9e5ef9ac9f1c9c429e1606bf08a56c8a49.zip
op-kernel-dev-4160cd9e5ef9ac9f1c9c429e1606bf08a56c8a49.tar.gz
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')
-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 a24495e..5ef347a 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;
OpenPOWER on IntegriCloud