iommu/amd: Make a symbol static
authorJoerg Roedel <jroedel@suse.de>
Thu, 13 Aug 2015 09:31:48 +0000 (11:31 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 13 Aug 2015 17:49:10 +0000 (19:49 +0200)
Symbol is only used in that file and can be static.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu_init.c

index a24495eb4e26c5c596efa79c084b14c19fe5932c..5ef347a13cb5d54789c07869b0527d81cb24365e 100644 (file)
@@ -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;