iommu/msm: Make msm_iommu_lock static
authorSamuel Zou <zou_wei@huawei.com>
Tue, 12 May 2020 02:17:19 +0000 (10:17 +0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 13 May 2020 09:57:26 +0000 (11:57 +0200)
commitc4e0f3b240041bf504e3a25e300eadb88f6a68eb
treeeab6bd50497c9f58b9e774d16f7e4c6371d43772
parent6a8b55ed4056ea5559ebe4f6a4b247f627870d4c
iommu/msm: Make msm_iommu_lock static

Fix the following sparse warning:

drivers/iommu/msm_iommu.c:37:1: warning: symbol 'msm_iommu_lock' was not declared.

The msm_iommu_lock has only call site within msm_iommu.c
It should be static

Fixes: 0720d1f052dc ("msm: Add MSM IOMMU support")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Samuel Zou <zou_wei@huawei.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1589249839-105820-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/msm_iommu.c