提交 2dfa319a 编写于 作者: B Ben Dooks 提交者: Greg Kroah-Hartman

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: NBen Dooks <ben@simtec.co.uk>
Acked-by: NDavid Brownell <dbrownell@users.sourceforge.net>
上级 3edb8a20
...@@ -371,7 +371,7 @@ static int usb_hcd_s3c2410_probe (const struct hc_driver *driver, ...@@ -371,7 +371,7 @@ static int usb_hcd_s3c2410_probe (const struct hc_driver *driver,
usb_clk = clk_get(&dev->dev, "usb-bus-host"); usb_clk = clk_get(&dev->dev, "usb-bus-host");
if (IS_ERR(usb_clk)) { 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; retval = -ENOENT;
goto err_clk; goto err_clk;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册