summaryrefslogtreecommitdiff
path: root/drivers/mmc/wbsd.c
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2006-08-07 03:40:04 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-08-07 17:47:54 +0400
commitdd2c609c59cd9daeb90d58f3d1bc3813e8987df1 (patch)
tree2a37fb9ad8dae6fb051374824d601498ce5a4006 /drivers/mmc/wbsd.c
parent916f3ac680fcc4c142e9acd46161f55533b11760 (diff)
downloadlinux-dd2c609c59cd9daeb90d58f3d1bc3813e8987df1.tar.xz
[MMC] Another stray 'io' reference
Another misuse of the global 'io' variable instead of the local 'base'. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/wbsd.c')
-rw-r--r--drivers/mmc/wbsd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/wbsd.c b/drivers/mmc/wbsd.c
index ce86887ed3bd..c351c6d1a18a 100644
--- a/drivers/mmc/wbsd.c
+++ b/drivers/mmc/wbsd.c
@@ -1773,7 +1773,7 @@ static int __devinit wbsd_init(struct device *dev, int base, int irq, int dma,
/*
* Request resources.
*/
- ret = wbsd_request_resources(host, io, irq, dma);
+ ret = wbsd_request_resources(host, base, irq, dma);
if (ret) {
wbsd_release_resources(host);
wbsd_free_mmc(dev);
@@ -1861,6 +1861,7 @@ static void __devexit wbsd_shutdown(struct device *dev, int pnp)
static int __devinit wbsd_probe(struct platform_device *dev)
{
+ /* Use the module parameters for resources */
return wbsd_init(&dev->dev, io, irq, dma, 0);
}