summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-alsa.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-11-20 15:50:31 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-11-20 15:50:31 +0000
commit7b764f7b7b2fe6668f09de71e7b28eee2028fe42 (patch)
treeedf2f3b575cbe625a0eec6cfd43e57dea41f9695 /linux/drivers/media/video/saa7134/saa7134-alsa.c
parent6be6cf626692423f838ec37dd3e29de60e0b3032 (diff)
downloadmediapointer-dvb-s2-7b764f7b7b2fe6668f09de71e7b28eee2028fe42.tar.gz
mediapointer-dvb-s2-7b764f7b7b2fe6668f09de71e7b28eee2028fe42.tar.bz2
This patch makes needlessly global code static.
From: Adrian Bunk <bunk@stusta.de> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-alsa.c')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-alsa.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-alsa.c b/linux/drivers/media/video/saa7134/saa7134-alsa.c
index 2e2263de5..701746930 100644
--- a/linux/drivers/media/video/saa7134/saa7134-alsa.c
+++ b/linux/drivers/media/video/saa7134/saa7134-alsa.c
@@ -1,7 +1,7 @@
/*
* SAA713x ALSA support for V4L
*
- * $Id: saa7134-alsa.c,v 1.27 2005/11/16 03:34:21 rmcc Exp $
+ * $Id: saa7134-alsa.c,v 1.28 2005/11/20 15:50:31 mchehab Exp $
*
* Caveats:
* - Volume doesn't work (it's always at max)
@@ -153,7 +153,8 @@ static void saa7134_dma_start(struct saa7134_dev *dev)
*
*/
-void saa7134_irq_alsa_done(struct saa7134_dev *dev, unsigned long status)
+static void saa7134_irq_alsa_done(struct saa7134_dev *dev,
+ unsigned long status)
{
int next_blk, reg = 0;
@@ -894,7 +895,7 @@ static void snd_saa7134_free(snd_card_t * card)
*
*/
-int alsa_card_saa7134_create(struct saa7134_dev *dev, int devnum)
+static int alsa_card_saa7134_create(struct saa7134_dev *dev, int devnum)
{
snd_card_t *card;
@@ -1025,7 +1026,7 @@ static int saa7134_alsa_init(void)
* Module destructor
*/
-void saa7134_alsa_exit(void)
+static void saa7134_alsa_exit(void)
{
int idx;