Commit b02044d8 authored by Adrian Bunk's avatar Adrian Bunk Committed by Mauro Carvalho Chehab

V4L/DVB (6399): saa7134/: make 2 functions static

saa7134_buffer_requeue() and set_tvnorm() can become static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 55c88610
...@@ -395,7 +395,7 @@ void saa7134_buffer_timeout(unsigned long data) ...@@ -395,7 +395,7 @@ void saa7134_buffer_timeout(unsigned long data)
/* resends a current buffer in queue after resume */ /* resends a current buffer in queue after resume */
int saa7134_buffer_requeue(struct saa7134_dev *dev, static int saa7134_buffer_requeue(struct saa7134_dev *dev,
struct saa7134_dmaqueue *q) struct saa7134_dmaqueue *q)
{ {
struct saa7134_buf *buf, *next; struct saa7134_buf *buf, *next;
......
...@@ -540,7 +540,7 @@ void res_free(struct saa7134_dev *dev, struct saa7134_fh *fh, unsigned int bits) ...@@ -540,7 +540,7 @@ void res_free(struct saa7134_dev *dev, struct saa7134_fh *fh, unsigned int bits)
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
void set_tvnorm(struct saa7134_dev *dev, struct saa7134_tvnorm *norm) static void set_tvnorm(struct saa7134_dev *dev, struct saa7134_tvnorm *norm)
{ {
dprintk("set tv norm = %s\n",norm->name); dprintk("set tv norm = %s\n",norm->name);
......
...@@ -596,9 +596,6 @@ void saa7134_buffer_next(struct saa7134_dev *dev, struct saa7134_dmaqueue *q); ...@@ -596,9 +596,6 @@ void saa7134_buffer_next(struct saa7134_dev *dev, struct saa7134_dmaqueue *q);
void saa7134_buffer_timeout(unsigned long data); void saa7134_buffer_timeout(unsigned long data);
void saa7134_dma_free(struct videobuf_queue *q,struct saa7134_buf *buf); void saa7134_dma_free(struct videobuf_queue *q,struct saa7134_buf *buf);
int saa7134_buffer_requeue(struct saa7134_dev *dev,
struct saa7134_dmaqueue *q);
int saa7134_set_dmabits(struct saa7134_dev *dev); int saa7134_set_dmabits(struct saa7134_dev *dev);
extern int (*saa7134_dmasound_init)(struct saa7134_dev *dev); extern int (*saa7134_dmasound_init)(struct saa7134_dev *dev);
...@@ -631,7 +628,6 @@ void saa7134_i2c_call_clients(struct saa7134_dev *dev, ...@@ -631,7 +628,6 @@ void saa7134_i2c_call_clients(struct saa7134_dev *dev,
extern struct video_device saa7134_video_template; extern struct video_device saa7134_video_template;
extern struct video_device saa7134_radio_template; extern struct video_device saa7134_radio_template;
void set_tvnorm(struct saa7134_dev *dev, struct saa7134_tvnorm *norm);
int saa7134_videoport_init(struct saa7134_dev *dev); int saa7134_videoport_init(struct saa7134_dev *dev);
void saa7134_set_tvnorm_hw(struct saa7134_dev *dev); void saa7134_set_tvnorm_hw(struct saa7134_dev *dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment