]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/ppc/powermac.c
Pull ar-k0-usage into release branch
[linux-2.6-omap-h63xx.git] / sound / ppc / powermac.c
index 231f6432ea6d08bb27023c8423860b9b2e0ac03d..a6d8cbf4064f8a749880d756956a23979918ce1c 100644 (file)
@@ -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;