aboutsummaryrefslogtreecommitdiff
path: root/sound/mips
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-11-17 17:21:46 +0100
committerJaroslav Kysela <perex@suse.cz>2006-01-03 12:28:50 +0100
commitebfbd2b83da14c7118da0efd1b59d8b641da08c2 (patch)
tree27f33be61aee55d574d9854687d91056763622af /sound/mips
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')
-rw-r--r--sound/mips/Kconfig1
-rw-r--r--sound/mips/au1x00.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/sound/mips/Kconfig b/sound/mips/Kconfig
index 2433b772740..531f8ba96a7 100644
--- a/sound/mips/Kconfig
+++ b/sound/mips/Kconfig
@@ -8,7 +8,6 @@ config SND_AU1X00
depends on (SOC_AU1000 || SOC_AU1100 || SOC_AU1500) && SND
select SND_PCM
select SND_AC97_CODEC
- select SND_GENERIC_DRIVER
help
ALSA Sound driver for the Au1x00's AC97 port.
diff --git a/sound/mips/au1x00.c b/sound/mips/au1x00.c
index f150cced9fc..6d8f8b3eabd 100644
--- a/sound/mips/au1x00.c
+++ b/sound/mips/au1x00.c
@@ -663,11 +663,6 @@ au1000_init(void)
strcpy(card->shortname, "AMD Au1000-AC97");
sprintf(card->longname, "AMD Au1000--AC97 ALSA Driver");
- if ((err = snd_card_set_generic_dev(card)) < 0) {
- snd_card_free(card);
- return err;
- }
-
if ((err = snd_card_register(card)) < 0) {
snd_card_free(card);
return err;