diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-22 13:41:44 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 12:42:15 -0400 |
commit | 5eedc466758b5743512d38b5d1eab6f799a39e00 (patch) | |
tree | f87e94c8ac4362c77b2c2a0f6cb65b27f974646d /drivers/media/video/ivtv | |
parent | 9ba0a3c0e8147e5c8d04f2b284c44222af517307 (diff) |
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: Adrian Bunk <bunk@kernel.org>
Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-yuv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/ivtv/ivtv-yuv.c b/drivers/media/video/ivtv/ivtv-yuv.c index 85183480a225..8fdd67cef74c 100644 --- a/drivers/media/video/ivtv/ivtv-yuv.c +++ b/drivers/media/video/ivtv/ivtv-yuv.c | |||
@@ -914,7 +914,7 @@ static void ivtv_yuv_init(struct ivtv *itv) | |||
914 | } | 914 | } |
915 | 915 | ||
916 | /* Get next available yuv buffer on PVR350 */ | 916 | /* Get next available yuv buffer on PVR350 */ |
917 | void ivtv_yuv_next_free(struct ivtv *itv) | 917 | static void ivtv_yuv_next_free(struct ivtv *itv) |
918 | { | 918 | { |
919 | int draw, display; | 919 | int draw, display; |
920 | struct yuv_playback_info *yi = &itv->yuv_info; | 920 | struct yuv_playback_info *yi = &itv->yuv_info; |
@@ -937,7 +937,7 @@ void ivtv_yuv_next_free(struct ivtv *itv) | |||
937 | } | 937 | } |
938 | 938 | ||
939 | /* Set up frame according to ivtv_dma_frame parameters */ | 939 | /* Set up frame according to ivtv_dma_frame parameters */ |
940 | void ivtv_yuv_setup_frame(struct ivtv *itv, struct ivtv_dma_frame *args) | 940 | static void ivtv_yuv_setup_frame(struct ivtv *itv, struct ivtv_dma_frame *args) |
941 | { | 941 | { |
942 | struct yuv_playback_info *yi = &itv->yuv_info; | 942 | struct yuv_playback_info *yi = &itv->yuv_info; |
943 | u8 frame = yi->draw_frame; | 943 | u8 frame = yi->draw_frame; |
@@ -1042,7 +1042,7 @@ void ivtv_yuv_frame_complete(struct ivtv *itv) | |||
1042 | (itv->yuv_info.draw_frame + 1) % IVTV_YUV_BUFFERS); | 1042 | (itv->yuv_info.draw_frame + 1) % IVTV_YUV_BUFFERS); |
1043 | } | 1043 | } |
1044 | 1044 | ||
1045 | int ivtv_yuv_udma_frame(struct ivtv *itv, struct ivtv_dma_frame *args) | 1045 | static int ivtv_yuv_udma_frame(struct ivtv *itv, struct ivtv_dma_frame *args) |
1046 | { | 1046 | { |
1047 | DEFINE_WAIT(wait); | 1047 | DEFINE_WAIT(wait); |
1048 | int rc = 0; | 1048 | int rc = 0; |