USB: EHCI: fix typo in ehci-platform driver on the word "resource"
authorFlorian Fainelli <florian@openwrt.org>
Mon, 8 Oct 2012 13:11:43 +0000 (15:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 18:30:26 +0000 (11:30 -0700)
Fix the obvious typo in the error message, we meant to write "resource"
instead of "recourse".

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-platform.c

index 6516717edbfc97ed430b78ff20d767ebc2c89d12..3cb0b1bf9ac2063d213eb96fb0754d11065627c6 100644 (file)
@@ -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;
        }