diff --git a/drivers/dma-buf/dma-fence.c b/drivers/dma-buf/dma-fence.c index af1d8ea926b3..43624b4ee13d 100644 --- a/drivers/dma-buf/dma-fence.c +++ b/drivers/dma-buf/dma-fence.c @@ -246,7 +246,7 @@ EXPORT_SYMBOL(dma_fence_context_alloc); * concerned. */ #ifdef CONFIG_LOCKDEP -struct lockdep_map dma_fence_lockdep_map = { +static struct lockdep_map dma_fence_lockdep_map = { .name = "dma_fence_map" };