Commit 323c9dd2 authored by Jiri Kosina's avatar Jiri Kosina

trivial: don't touch fsi_ssl.c with ioremap fixes

This is a partial revert of 28f65c11 ("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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 25eb650a
...@@ -678,7 +678,7 @@ static int __devinit fsl_ssi_probe(struct platform_device *pdev) ...@@ -678,7 +678,7 @@ static int __devinit fsl_ssi_probe(struct platform_device *pdev)
kfree(ssi_private); kfree(ssi_private);
return ret; return ret;
} }
ssi_private->ssi = ioremap(res.start, resource_size(&res)); ssi_private->ssi = ioremap(res.start, 1 + res.end - res.start);
ssi_private->ssi_phys = res.start; ssi_private->ssi_phys = res.start;
ssi_private->irq = irq_of_parse_and_map(np, 0); ssi_private->irq = irq_of_parse_and_map(np, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment