]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
trivial: don't touch fsi_ssl.c with ioremap fixes
authorJiri Kosina <jkosina@suse.cz>
Tue, 14 Jun 2011 08:40:40 +0000 (10:40 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 14 Jun 2011 08:40:40 +0000 (10:40 +0200)
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>
sound/soc/fsl/fsl_ssi.c

index 6a882aa5553028a089ae52791e0d5b9e38fa48f0..313e0ccedd5b6ad64d270367a4e40ac78f80adf8 100644 (file)
@@ -678,7 +678,7 @@ static int __devinit fsl_ssi_probe(struct platform_device *pdev)
                kfree(ssi_private);
                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->irq = irq_of_parse_and_map(np, 0);