summaryrefslogtreecommitdiff
path: root/sound/sparc/amd7930.c
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/sparc/amd7930.c
parentfa8174db0fd032c3d48cc0873946358c68e44d4f (diff)
downloadlwn-ebfbd2b83da14c7118da0efd1b59d8b641da08c2.tar.gz
lwn-ebfbd2b83da14c7118da0efd1b59d8b641da08c2.zip
[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/sparc/amd7930.c')
-rw-r--r--sound/sparc/amd7930.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c
index c2710499b83a..55493340f467 100644
--- a/sound/sparc/amd7930.c
+++ b/sound/sparc/amd7930.c
@@ -1079,9 +1079,6 @@ static int __init amd7930_attach(int prom_node, struct sbus_dev *sdev)
if ((err = snd_amd7930_mixer(amd)) < 0)
goto out_err;
- if ((err = snd_card_set_generic_dev(card)) < 0)
- goto out_err;
-
if ((err = snd_card_register(card)) < 0)
goto out_err;