git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ALSA] Add snd_card_set_generic_dev() call
[sfrench/cifs-2.6.git]
/
sound
/
ppc
/
powermac.c
diff --git
a/sound/ppc/powermac.c
b/sound/ppc/powermac.c
index 231f6432ea6d08bb27023c8423860b9b2e0ac03d..a6d8cbf4064f8a749880d756956a23979918ce1c 100644
(file)
--- a/
sound/ppc/powermac.c
+++ b/
sound/ppc/powermac.c
@@
-131,6
+131,9
@@
static int __init snd_pmac_probe(void)
if (enable_beep)
snd_pmac_attach_beep(chip);
+ if ((err = snd_card_set_generic_dev(card)) < 0)
+ goto __error;
+
if ((err = snd_card_register(card)) < 0)
goto __error;