diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-02-26 18:03:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-24 19:20:44 -0400 |
commit | 2dfa319a649b9de029777994b6af201c1fe81d53 (patch) | |
tree | 31567ae2437176fb83769e14dba8a5fbb59c3310 /drivers/usb | |
parent | 3edb8a208b5be90c829f7b19058cb63e947b1d18 (diff) |
USB: ohci-s3c2410: fix name of bus clock
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/ohci-s3c2410.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-s3c2410.c b/drivers/usb/host/ohci-s3c2410.c index 0e62d2044f7e..a7ddd5d14a51 100644 --- a/drivers/usb/host/ohci-s3c2410.c +++ b/drivers/usb/host/ohci-s3c2410.c | |||
@@ -371,7 +371,7 @@ static int usb_hcd_s3c2410_probe (const struct hc_driver *driver, | |||
371 | 371 | ||
372 | usb_clk = clk_get(&dev->dev, "usb-bus-host"); | 372 | usb_clk = clk_get(&dev->dev, "usb-bus-host"); |
373 | if (IS_ERR(usb_clk)) { | 373 | if (IS_ERR(usb_clk)) { |
374 | dev_err(&dev->dev, "cannot get usb-host clock\n"); | 374 | dev_err(&dev->dev, "cannot get usb-bus-host clock\n"); |
375 | retval = -ENOENT; | 375 | retval = -ENOENT; |
376 | goto err_clk; | 376 | goto err_clk; |
377 | } | 377 | } |