diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-24 12:23:14 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:00:55 -0500 |
commit | b02044d81fc028d4fef1c65f9b179a0aec091f0b (patch) | |
tree | 9af6759bef3b7e3fa19ce8ce0d42a8da25772f50 /drivers | |
parent | 55c88610fe974c95a62e495305a7386aaac3df39 (diff) |
V4L/DVB (6399): saa7134/: make 2 functions static
saa7134_buffer_requeue() and set_tvnorm() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-core.c | 4 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-video.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134.h | 4 |
3 files changed, 3 insertions, 7 deletions
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c index 4f0a9157ecb1..fc71843b9dc2 100644 --- a/drivers/media/video/saa7134/saa7134-core.c +++ b/drivers/media/video/saa7134/saa7134-core.c | |||
@@ -395,8 +395,8 @@ void saa7134_buffer_timeout(unsigned long data) | |||
395 | 395 | ||
396 | /* resends a current buffer in queue after resume */ | 396 | /* resends a current buffer in queue after resume */ |
397 | 397 | ||
398 | int saa7134_buffer_requeue(struct saa7134_dev *dev, | 398 | static int saa7134_buffer_requeue(struct saa7134_dev *dev, |
399 | struct saa7134_dmaqueue *q) | 399 | struct saa7134_dmaqueue *q) |
400 | { | 400 | { |
401 | struct saa7134_buf *buf, *next; | 401 | struct saa7134_buf *buf, *next; |
402 | 402 | ||
diff --git a/drivers/media/video/saa7134/saa7134-video.c b/drivers/media/video/saa7134/saa7134-video.c index 2c1d56ab2f2a..86fe452842b3 100644 --- a/drivers/media/video/saa7134/saa7134-video.c +++ b/drivers/media/video/saa7134/saa7134-video.c | |||
@@ -540,7 +540,7 @@ void res_free(struct saa7134_dev *dev, struct saa7134_fh *fh, unsigned int bits) | |||
540 | 540 | ||
541 | /* ------------------------------------------------------------------ */ | 541 | /* ------------------------------------------------------------------ */ |
542 | 542 | ||
543 | void set_tvnorm(struct saa7134_dev *dev, struct saa7134_tvnorm *norm) | 543 | static void set_tvnorm(struct saa7134_dev *dev, struct saa7134_tvnorm *norm) |
544 | { | 544 | { |
545 | 545 | ||
546 | dprintk("set tv norm = %s\n",norm->name); | 546 | dprintk("set tv norm = %s\n",norm->name); |
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h index 66a390c321a7..16f4b5ce34d9 100644 --- a/drivers/media/video/saa7134/saa7134.h +++ b/drivers/media/video/saa7134/saa7134.h | |||
@@ -596,9 +596,6 @@ void saa7134_buffer_next(struct saa7134_dev *dev, struct saa7134_dmaqueue *q); | |||
596 | void saa7134_buffer_timeout(unsigned long data); | 596 | void saa7134_buffer_timeout(unsigned long data); |
597 | void saa7134_dma_free(struct videobuf_queue *q,struct saa7134_buf *buf); | 597 | void saa7134_dma_free(struct videobuf_queue *q,struct saa7134_buf *buf); |
598 | 598 | ||
599 | int saa7134_buffer_requeue(struct saa7134_dev *dev, | ||
600 | struct saa7134_dmaqueue *q); | ||
601 | |||
602 | int saa7134_set_dmabits(struct saa7134_dev *dev); | 599 | int saa7134_set_dmabits(struct saa7134_dev *dev); |
603 | 600 | ||
604 | extern int (*saa7134_dmasound_init)(struct saa7134_dev *dev); | 601 | extern int (*saa7134_dmasound_init)(struct saa7134_dev *dev); |
@@ -631,7 +628,6 @@ void saa7134_i2c_call_clients(struct saa7134_dev *dev, | |||
631 | extern struct video_device saa7134_video_template; | 628 | extern struct video_device saa7134_video_template; |
632 | extern struct video_device saa7134_radio_template; | 629 | extern struct video_device saa7134_radio_template; |
633 | 630 | ||
634 | void set_tvnorm(struct saa7134_dev *dev, struct saa7134_tvnorm *norm); | ||
635 | int saa7134_videoport_init(struct saa7134_dev *dev); | 631 | int saa7134_videoport_init(struct saa7134_dev *dev); |
636 | void saa7134_set_tvnorm_hw(struct saa7134_dev *dev); | 632 | void saa7134_set_tvnorm_hw(struct saa7134_dev *dev); |
637 | 633 | ||