From a0fd645e14caab98b07398020178ef4e52922a7d Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Wed, 1 Feb 2006 03:04:43 -0800 Subject: [PATCH] --- yaml --- r: 19318 b: refs/heads/master c: 88356e908521a84b2220c9e8850d1a356a851aa9 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/ppc/pmac.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index bc824c41d91b..d3a90c22b870 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9cd684551124e71630ab96d238747051463f5b56 +refs/heads/master: 88356e908521a84b2220c9e8850d1a356a851aa9 diff --git a/trunk/sound/ppc/pmac.c b/trunk/sound/ppc/pmac.c index a642e4cfcf45..4988f873a7ba 100644 --- a/trunk/sound/ppc/pmac.c +++ b/trunk/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]);