gpu/host1x: fence: Make spinlock static
authorDmitry Osipenko <digetx@gmail.com>
Tue, 17 Aug 2021 02:01:53 +0000 (05:01 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Sep 2021 16:06:51 +0000 (18:06 +0200)
commita81cf839a064af27349b857fe347e97dd98c12a0
tree06735aaf32ec742ed81c2a0844ee30b82a717274
parent8a44924e1400d75db5c6fdaf199038580df4f79f
gpu/host1x: fence: Make spinlock static

The DEFINE_SPINLOCK macro creates a global spinlock symbol that is visible
to the whole kernel. This is unintended in the code, fix it.

Fixes: 687db2207b1b ("gpu: host1x: Add DMA fence implementation")
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/fence.c