]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/iommu/amd_iommu_v2.c
drm/i915: reorder edp disabling to fix ivb MacBook Air
[karo-tx-linux.git] / drivers / iommu / amd_iommu_v2.c
index a1f1bc876043ca17eaab498b105b5e7767846a50..5208828792e603ad3f5effaa22b2e9c09ca0ac02 100644 (file)
@@ -81,7 +81,7 @@ struct fault {
        u16 flags;
 };
 
-struct device_state **state_table;
+static struct device_state **state_table;
 static spinlock_t state_lock;
 
 /* List and lock for all pasid_states */
@@ -926,7 +926,7 @@ static int __init amd_iommu_v2_init(void)
        pr_info("AMD IOMMUv2 driver by Joerg Roedel <joerg.roedel@amd.com>\n");
 
        if (!amd_iommu_v2_supported()) {
-               pr_info("AMD IOMMUv2 functionality not available on this sytem\n");
+               pr_info("AMD IOMMUv2 functionality not available on this system\n");
                /*
                 * Load anyway to provide the symbols to other modules
                 * which may use AMD IOMMUv2 optionally.