]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
USB: ohci-s3c2410: fix name of bus clock
authorBen Dooks <ben@simtec.co.uk>
Thu, 26 Feb 2009 23:03:15 +0000 (23:03 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:44 +0000 (16:20 -0700)
The USB bus clock is usb-bus-host, so print the correct name in the
dev_err() statement if we cannot find it.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
drivers/usb/host/ohci-s3c2410.c

index 0e62d2044f7ef85d1ae34fa29fb03979740750a6..a7ddd5d14a5172c7bdc0c5013772e0f3efb6b2d3 100644 (file)
@@ -371,7 +371,7 @@ static int usb_hcd_s3c2410_probe (const struct hc_driver *driver,
 
        usb_clk = clk_get(&dev->dev, "usb-bus-host");
        if (IS_ERR(usb_clk)) {
-               dev_err(&dev->dev, "cannot get usb-host clock\n");
+               dev_err(&dev->dev, "cannot get usb-bus-host clock\n");
                retval = -ENOENT;
                goto err_clk;
        }