Skip to contentSkip to conversation

Another stray 'io' reference

PATCH Applied Pierre Ossman 3 participants 3 messages Aug 6, 2006 – Aug 7, 2006 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Another stray 'io' reference

Another misuse of the global 'io' variable instead of the local 'base'.

---

 drivers/mmc/wbsd.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/mmc/wbsd.c +2 -1
index ce86887..c351c6d 100644
@@ -1773,7 +1773,7 @@ static int __devinit wbsd_init(struct de
 	/*
 	 * 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(stru
 
 static int __devinit wbsd_probe(struct platform_device *dev)
 {
+	/* Use the module parameters for resources */
 	return wbsd_init(&dev->dev, io, irq, dma, 0);
 }
 
#1 lore raw
Quoted 5 lines · Pierre Ossman

Another misuse of the global 'io' variable instead of the local 'base'.

---

This should be it. I did a search for 'io' in the entire driver and found no other incorrect uses.

Applied
#2 lore raw
In reply to Pierre Ossman
Quoted 1 line · Pierre Ossman

Another misuse of the global 'io' variable instead of the local 'base'.

Applied, thanks.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core