diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/ppc/pmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index a642e4cfcf45..4988f873a7ba 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) | |||
1216 | goto __error; | 1216 | goto __error; |
1217 | } | 1217 | } |
1218 | for (i = 0; i < 3; i ++) { | 1218 | for (i = 0; i < 3; i ++) { |
1219 | if (of_address_to_resource(np->parent, i, | 1219 | if (of_address_to_resource(np, i, |
1220 | &chip->rsrc[i])) { | 1220 | &chip->rsrc[i])) { |
1221 | printk(KERN_ERR "snd: can't translate rsrc " | 1221 | printk(KERN_ERR "snd: can't translate rsrc " |
1222 | " %d (%s)\n", i, rnames[i]); | 1222 | " %d (%s)\n", i, rnames[i]); |