usb: ehci-hcd: Fix crash when no ops are provided to ehci_register()
[oweals/u-boot.git] / drivers / usb / host / xhci-uniphier.c
index 08b15e0ad1b730824c594fb497e8bbbfa5e63174..1b3f3d22de115768b57a93f30bbd3b76efc6f5d7 100644 (file)
@@ -1,12 +1,12 @@
 /*
- * Copyright (C) 2015 Panasonic Corporation
- *   Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
+ * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
 #include <linux/err.h>
+#include <linux/io.h>
 #include <usb.h>
 #include <fdtdec.h>
 #include "xhci.h"
@@ -19,7 +19,7 @@ static int get_uniphier_xhci_base(int index, struct xhci_hccr **base)
        int count;
 
        count = fdtdec_find_aliases_for_id(gd->fdt_blob, "usb",
-                                          COMPAT_PANASONIC_XHCI, node_list,
+                                          COMPAT_SOCIONEXT_XHCI, node_list,
                                           ARRAY_SIZE(node_list));
 
        if (index >= count)