Skip to content

Commit

Permalink
V4L/DVB (7105): ivtv-yuv.c: make 3 functions static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 9ba0a3c commit 5eedc46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/media/video/ivtv/ivtv-yuv.c
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ static void ivtv_yuv_init(struct ivtv *itv)
}

/* 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;
struct yuv_playback_info *yi = &itv->yuv_info;
Expand All @@ -937,7 +937,7 @@ void ivtv_yuv_next_free(struct ivtv *itv)
}

/* 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;
u8 frame = yi->draw_frame;
Expand Down Expand Up @@ -1042,7 +1042,7 @@ void ivtv_yuv_frame_complete(struct ivtv *itv)
(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);
int rc = 0;
Expand Down

0 comments on commit 5eedc46

Please sign in to comment.