diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-07-13 22:25:42 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-07-22 16:14:34 +0200 |
commit | 1b0b2a84c979347f5385a8cb3901d3a46569d57c (patch) | |
tree | 713bd079a059fb264b6d337d36ebeb5508ce403e /arch/nios2/lib | |
parent | 97215a7df4351fdd9141418568be872fb1032d6e (diff) |
iommu: Make some functions static
The sparse tool complains as follows:
drivers/iommu/iommu.c:386:5: warning:
symbol 'iommu_insert_resv_region' was not declared. Should it be static?
drivers/iommu/iommu.c:2182:5: warning:
symbol '__iommu_map' was not declared. Should it be static?
Those functions are not used outside of iommu.c, so mark them static.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20200713142542.50294-1-weiyongjun1@huawei.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch/nios2/lib')
0 files changed, 0 insertions, 0 deletions