dwc_otg: fix compile error
author黄涛 <huangtao@rock-chips.com>
Tue, 21 Dec 2010 10:54:50 +0000 (18:54 +0800)
committer黄涛 <huangtao@rock-chips.com>
Tue, 21 Dec 2010 10:54:50 +0000 (18:54 +0800)
drivers/usb/dwc_otg/dwc_otg_driver.c
drivers/usb/dwc_otg/dwc_otg_pcd.c

index e5aa34a1648bb1d911709208c59df3155ba312c5..9f1e31f6917df966b2295affff3fcf8fe108d99c 100755 (executable)
@@ -48,6 +48,7 @@
  * device.
  */
 
+#include <linux/clk.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>
@@ -1518,7 +1519,7 @@ static __devinit int host20_driver_probe(struct platform_device *pdev)
     clk = clk_get(NULL, "otgphy1");
      if (IS_ERR(clk)) {
              retval = PTR_ERR(clk);
-             DWC_ERROR(&"can't get USB clock of otgphy1\n");
+             DWC_ERROR("can't get USB clock of otgphy1\n");
             goto fail;
      }
      clk_enable(clk);
index 42efcdf41fbca87f286c658fae034efda87fcd49..cb0d81d46ab344438e3a9499e4574eaf08d197bc 100755 (executable)
@@ -61,7 +61,7 @@
  *
  */
 
-
+#include <linux/clk.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>