diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index a642e4cfcf45e2188104b0b4488f26c6d6c12e97..4988f873a7bacc6bd1749bea5f1d137823401da1 100644 --- a/sound/ppc/pmac.c +++ b/sound/ppc/pmac.c @@ -1216,7 +1216,7 @@ int __init snd_pmac_new(struct snd_card *card, struct snd_pmac **chip_return) goto __error; } for (i = 0; i < 3; i ++) { - if (of_address_to_resource(np->parent, i, + if (of_address_to_resource(np, i, &chip->rsrc[i])) { printk(KERN_ERR "snd: can't translate rsrc " " %d (%s)\n", i, rnames[i]);