Loading drivers/staging/tm6000/tm6000-alsa.c +2 −10 Original line number Diff line number Diff line Loading @@ -333,20 +333,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; Loading Loading @@ -419,4 +410,5 @@ static int tm6000_audio_init(struct tm6000_core *dev, int idx) snd_card_free(card); return rc; } EXPORT_SYMBOL_GPL(tm6000_audio_init); drivers/staging/tm6000/tm6000.h +4 −0 Original line number Diff line number Diff line Loading @@ -252,6 +252,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; Loading Loading
drivers/staging/tm6000/tm6000-alsa.c +2 −10 Original line number Diff line number Diff line Loading @@ -333,20 +333,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; Loading Loading @@ -419,4 +410,5 @@ static int tm6000_audio_init(struct tm6000_core *dev, int idx) snd_card_free(card); return rc; } EXPORT_SYMBOL_GPL(tm6000_audio_init);
drivers/staging/tm6000/tm6000.h +4 −0 Original line number Diff line number Diff line Loading @@ -252,6 +252,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; Loading