dma-heap: Make the symbol 'dma_heap_ioctl_cmds' static
authorzhong jiang <zhongjiang@huawei.com>
Tue, 17 Dec 2019 19:08:22 +0000 (00:38 +0530)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:34:03 +0000 (16:34 +0100)
commit86361c0f3dce61c4c6be6dd475889d3fd68626f7
tree9b350ebe4d7d5a2c2e5acacac7622916ea7acc9f
parent6f5e2db1b29616ceb1460c2055f974fe9b5a6644
dma-heap: Make the symbol 'dma_heap_ioctl_cmds' static

Commit 7d411afe8444060454a53b1f9b70ee78b3e75ef1 upstream.

Fix the following sparse warning.

drivers/dma-buf/dma-heap.c:109:14: warning: symbol 'dma_heap_ioctl_cmds'
was not declared. Should it be static?

Acked-by: Andrew F. Davis <afd@ti.com>
Acked-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
 [sumits: rebased over IOCTL rename patches]
Link: https://patchwork.freedesktop.org/patch/msgid/20191217190822.1969-1-sumit.semwal@linaro.org
drivers/dma-buf/dma-heap.c