[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1430334318-4324-1-git-send-email-fabf@skynet.be>
Date: Wed, 29 Apr 2015 21:05:17 +0200
From: Fabian Frederick <fabf@...net.be>
To: linux-kernel@...r.kernel.org
Cc: Fabian Frederick <fabf@...net.be>, Joerg Roedel <joro@...tes.org>,
iommu@...ts.linux-foundation.org
Subject: [PATCH 1/1 linux-next] iommu/msm: make msm_iommu_lock static
msm_iommu_lock is only used in msm_iommu.c
Signed-off-by: Fabian Frederick <fabf@...net.be>
---
drivers/iommu/msm_iommu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iommu/msm_iommu.c b/drivers/iommu/msm_iommu.c
index 15a2063..f2a6321 100644
--- a/drivers/iommu/msm_iommu.c
+++ b/drivers/iommu/msm_iommu.c
@@ -47,7 +47,7 @@ __asm__ __volatile__ ( \
static int msm_iommu_tex_class[4];
-DEFINE_SPINLOCK(msm_iommu_lock);
+static DEFINE_SPINLOCK(msm_iommu_lock);
struct msm_priv {
unsigned long *pgtable;
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists