提交 5eedc466 编写于 作者: A Adrian Bunk 提交者: Mauro Carvalho Chehab

V4L/DVB (7105): ivtv-yuv.c: make 3 functions static

This patch makes the following needlessly global functions static:
- ivtv_yuv_next_free()
- ivtv_yuv_setup_frame()
- ivtv_yuv_udma_frame()
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Reviewed-by: NHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 9ba0a3c0
...@@ -914,7 +914,7 @@ static void ivtv_yuv_init(struct ivtv *itv) ...@@ -914,7 +914,7 @@ static void ivtv_yuv_init(struct ivtv *itv)
} }
/* Get next available yuv buffer on PVR350 */ /* Get next available yuv buffer on PVR350 */
void ivtv_yuv_next_free(struct ivtv *itv) static void ivtv_yuv_next_free(struct ivtv *itv)
{ {
int draw, display; int draw, display;
struct yuv_playback_info *yi = &itv->yuv_info; struct yuv_playback_info *yi = &itv->yuv_info;
...@@ -937,7 +937,7 @@ void ivtv_yuv_next_free(struct ivtv *itv) ...@@ -937,7 +937,7 @@ void ivtv_yuv_next_free(struct ivtv *itv)
} }
/* Set up frame according to ivtv_dma_frame parameters */ /* Set up frame according to ivtv_dma_frame parameters */
void ivtv_yuv_setup_frame(struct ivtv *itv, struct ivtv_dma_frame *args) static void ivtv_yuv_setup_frame(struct ivtv *itv, struct ivtv_dma_frame *args)
{ {
struct yuv_playback_info *yi = &itv->yuv_info; struct yuv_playback_info *yi = &itv->yuv_info;
u8 frame = yi->draw_frame; u8 frame = yi->draw_frame;
...@@ -1042,7 +1042,7 @@ void ivtv_yuv_frame_complete(struct ivtv *itv) ...@@ -1042,7 +1042,7 @@ void ivtv_yuv_frame_complete(struct ivtv *itv)
(itv->yuv_info.draw_frame + 1) % IVTV_YUV_BUFFERS); (itv->yuv_info.draw_frame + 1) % IVTV_YUV_BUFFERS);
} }
int ivtv_yuv_udma_frame(struct ivtv *itv, struct ivtv_dma_frame *args) static int ivtv_yuv_udma_frame(struct ivtv *itv, struct ivtv_dma_frame *args)
{ {
DEFINE_WAIT(wait); DEFINE_WAIT(wait);
int rc = 0; int rc = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册