static int xhci_plat_start(struct usb_hcd *hcd) { if (xhci_plat_type_is(hcd, XHCI_PLAT_TYPE_RENESAS_RCAR_GEN2) || xhci_plat_type_is(hcd, XHCI_PLAT_TYPE_RENESAS_RCAR_GEN3)) xhci_rcar_start(hcd); return xhci_run(hcd); }
static int xhci_plat_start(struct usb_hcd *hcd) { struct device_node *of_node = hcd->self.controller->of_node; if (of_device_is_compatible(of_node, "renesas,xhci-r8a7790") || of_device_is_compatible(of_node, "renesas,xhci-r8a7791")) xhci_rcar_start(hcd); return xhci_run(hcd); }