]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/common/common.c
libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>
[u-boot] / drivers / usb / common / common.c
index 35c2dc18d9554eb3b75f0eff4d65e0e2f8f99733..69cf11cbf5cb1aecfba0d665514d6154425cd083 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <linux/usb/otg.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -28,7 +28,7 @@ enum usb_dr_mode usb_get_dr_mode(int node)
 
        dr_mode = fdt_getprop(fdt, node, "dr_mode", NULL);
        if (!dr_mode) {
-               error("usb dr_mode not found\n");
+               pr_err("usb dr_mode not found\n");
                return USB_DR_MODE_UNKNOWN;
        }