aboutsummaryrefslogtreecommitdiffstats
path: root/sound/mips/au1x00.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-11-17 11:21:46 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:28:50 -0500
commitebfbd2b83da14c7118da0efd1b59d8b641da08c2 (patch)
tree27f33be61aee55d574d9854687d91056763622af /sound/mips/au1x00.c
parentfa8174db0fd032c3d48cc0873946358c68e44d4f (diff)
[ALSA] Remove snd_card_generic_dev()
Remove the obsolete snd_card_generic_dev(). CONFIG_SND_GENERIC_DRIVER is also removed from Kconfig. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/mips/au1x00.c')
-rw-r--r--sound/mips/au1x00.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/mips/au1x00.c b/sound/mips/au1x00.c
index f150cced9fc1..6d8f8b3eabd0 100644
--- a/sound/mips/au1x00.c
+++ b/sound/mips/au1x00.c
@@ -663,11 +663,6 @@ au1000_init(void)
663 strcpy(card->shortname, "AMD Au1000-AC97"); 663 strcpy(card->shortname, "AMD Au1000-AC97");
664 sprintf(card->longname, "AMD Au1000--AC97 ALSA Driver"); 664 sprintf(card->longname, "AMD Au1000--AC97 ALSA Driver");
665 665
666 if ((err = snd_card_set_generic_dev(card)) < 0) {
667 snd_card_free(card);
668 return err;
669 }
670
671 if ((err = snd_card_register(card)) < 0) { 666 if ((err = snd_card_register(card)) < 0) {
672 snd_card_free(card); 667 snd_card_free(card);
673 return err; 668 return err;