OSDN Git Service

[media] videobuf: make unused exported functions static
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 23 Dec 2014 12:46:27 +0000 (09:46 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 27 Jan 2015 12:01:33 +0000 (10:01 -0200)
commit861360a56d0bcbc0bec92a1f1266c66880b2e5ae
tree52fa8673c38526b25730a112e5c1f78465d6d499
parent58fc0461f6c2e5684177f4616b1e60e36c0237e4
[media] videobuf: make unused exported functions static

The videobuf_dma_init* and videobuf_dma_map() functions are no longer
used except in videobuf-dma-sg.c itself. Make them static.

These functions were abused in various drivers. All those drivers
have now been fixed, so by no longer exporting these functions
future abuse is now prevented.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/videobuf-dma-sg.c
include/media/videobuf-dma-sg.h