aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2011-06-14 04:40:40 -0400
committerJiri Kosina <jkosina@suse.cz>2011-06-14 04:40:40 -0400
commit323c9dd26b6176fd7f16bcf3202df708c419b20c (patch)
treee740859372ddb58768cde7a89b0e7fcc52d7ded2 /sound
parent25eb650a690b95cb0e2cf0c3b03f4900a59e0135 (diff)
trivial: don't touch fsi_ssl.c with ioremap fixes
This is a partial revert of 28f65c11f2ff ("treewide: Convert uses of struct resource to resource_size(ptr)") as the code is rewritten in the sound tree and thus the change is obsolete. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/fsl/fsl_ssi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c
index 6a882aa55530..313e0ccedd5b 100644
--- a/sound/soc/fsl/fsl_ssi.c
+++ b/sound/soc/fsl/fsl_ssi.c
@@ -678,7 +678,7 @@ static int __devinit fsl_ssi_probe(struct platform_device *pdev)
678 kfree(ssi_private); 678 kfree(ssi_private);
679 return ret; 679 return ret;
680 } 680 }
681 ssi_private->ssi = ioremap(res.start, resource_size(&res)); 681 ssi_private->ssi = ioremap(res.start, 1 + res.end - res.start);
682 ssi_private->ssi_phys = res.start; 682 ssi_private->ssi_phys = res.start;
683 ssi_private->irq = irq_of_parse_and_map(np, 0); 683 ssi_private->irq = irq_of_parse_and_map(np, 0);
684 684