2012-10-08 13:15:06

by Florian Fainelli

[permalink] [raw]
Subject: [PATCH 29/32 v2] USB: EHCI: fix typo in ehci-platform driver on the word "resource"

Fix the obvious typo in the error message, we meant to write "resource"
instead of "recourse".

Signed-off-by: Florian Fainelli <[email protected]>
---
Changes in v2:
- rebased against greg's latest usb-next

drivers/usb/host/ehci-platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c
index 6516717..3cb0b1b 100644
--- a/drivers/usb/host/ehci-platform.c
+++ b/drivers/usb/host/ehci-platform.c
@@ -103,7 +103,7 @@ static int __devinit ehci_platform_probe(struct platform_device *dev)
}
res_mem = platform_get_resource(dev, IORESOURCE_MEM, 0);
if (!res_mem) {
- dev_err(&dev->dev, "no memory recourse provided");
+ dev_err(&dev->dev, "no memory resource provided");
return -ENXIO;
}

--
1.7.9.5