summaryrefslogtreecommitdiff
path: root/linux/drivers/staging
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-01-11 14:55:45 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-01-11 14:55:45 -0200
commit76ffb652950e54badead50495eb2ba5af3c5bb73 (patch)
treef54c5fede9d79827f61cc4b398988abfa6f06340 /linux/drivers/staging
parent4f0c3a5b186e34fc3b00d9de553b946f1c917d63 (diff)
downloadmediapointer-dvb-s2-76ffb652950e54badead50495eb2ba5af3c5bb73.tar.gz
mediapointer-dvb-s2-76ffb652950e54badead50495eb2ba5af3c5bb73.tar.bz2
tm6000: Fix two warnings
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/staging')
-rw-r--r--linux/drivers/staging/tm6000/tm6000-alsa.c12
-rw-r--r--linux/drivers/staging/tm6000/tm6000.h4
2 files changed, 6 insertions, 10 deletions
diff --git a/linux/drivers/staging/tm6000/tm6000-alsa.c b/linux/drivers/staging/tm6000/tm6000-alsa.c
index 50fd57cce..a9d63bf02 100644
--- a/linux/drivers/staging/tm6000/tm6000-alsa.c
+++ b/linux/drivers/staging/tm6000/tm6000-alsa.c
@@ -349,20 +349,11 @@ static int __devinit snd_tm6000_pcm(struct snd_tm6000_card *chip,
Basic Flow for Sound Devices
****************************************************************************/
-
-/*
- * Component Destructor
- */
-static void snd_tm6000_dev_free(struct snd_card *card)
-{
-}
-
-
/*
* Alsa Constructor - Component probe
*/
-static int tm6000_audio_init(struct tm6000_core *dev, int idx)
+int tm6000_audio_init(struct tm6000_core *dev, int idx)
{
struct snd_card *card;
struct snd_tm6000_card *chip;
@@ -435,6 +426,7 @@ error:
snd_card_free(card);
return rc;
}
+EXPORT_SYMBOL_GPL(tm6000_audio_init);
#if 0
/*
diff --git a/linux/drivers/staging/tm6000/tm6000.h b/linux/drivers/staging/tm6000/tm6000.h
index 54633f01d..08a703614 100644
--- a/linux/drivers/staging/tm6000/tm6000.h
+++ b/linux/drivers/staging/tm6000/tm6000.h
@@ -266,6 +266,10 @@ unsigned int tm6000_v4l2_poll(struct file *file,
struct poll_table_struct *wait);
int tm6000_queue_init(struct tm6000_core *dev);
+/* In tm6000-alsa.c */
+int tm6000_audio_init(struct tm6000_core *dev, int idx);
+
+
/* Debug stuff */
extern int tm6000_debug;