Commit dd2c609c authored by Pierre Ossman's avatar Pierre Ossman Committed by Russell King

[MMC] Another stray 'io' reference

Another misuse of the global 'io' variable instead of the local 'base'.
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 916f3ac6
...@@ -1773,7 +1773,7 @@ static int __devinit wbsd_init(struct device *dev, int base, int irq, int dma, ...@@ -1773,7 +1773,7 @@ static int __devinit wbsd_init(struct device *dev, int base, int irq, int dma,
/* /*
* Request resources. * Request resources.
*/ */
ret = wbsd_request_resources(host, io, irq, dma); ret = wbsd_request_resources(host, base, irq, dma);
if (ret) { if (ret) {
wbsd_release_resources(host); wbsd_release_resources(host);
wbsd_free_mmc(dev); wbsd_free_mmc(dev);
...@@ -1861,6 +1861,7 @@ static void __devexit wbsd_shutdown(struct device *dev, int pnp) ...@@ -1861,6 +1861,7 @@ static void __devexit wbsd_shutdown(struct device *dev, int pnp)
static int __devinit wbsd_probe(struct platform_device *dev) static int __devinit wbsd_probe(struct platform_device *dev)
{ {
/* Use the module parameters for resources */
return wbsd_init(&dev->dev, io, irq, dma, 0); return wbsd_init(&dev->dev, io, irq, dma, 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