2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 03:04:01 +08:00
linux-next/drivers/dma-buf
Baoyou Xie 748815881f dma-buf/sw_sync: mark sync_timeline_create() static
We get 1 warning when building kernel with W=1:
drivers/dma-buf/sw_sync.c:87:23: warning: no previous prototype for 'sync_timeline_create' [-Wmissing-prototypes]

In fact, this function is only used in the file in which it is
declared and don't need a declaration, but can be made static.
So this patch marks it 'static'.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1474202961-10099-1-git-send-email-baoyou.xie@linaro.org
2016-11-08 23:04:57 +05:30
..
dma-buf.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
dma-fence-array.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
dma-fence.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
Kconfig dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
Makefile dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
reservation.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
seqno-fence.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
sw_sync.c dma-buf/sw_sync: mark sync_timeline_create() static 2016-11-08 23:04:57 +05:30
sync_debug.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
sync_debug.h dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
sync_file.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
sync_trace.h dma-buf/sw_sync: de-stage SW_SYNC 2016-08-15 16:41:46 +02:00