X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fhtkw%2Fmcx%2Fmcx.c;h=5ef383d97122f4528883078b32ac0e124d8fee23;hb=b5bf5cb3b3e81298247a53d5b514cf941cd13a9f;hp=7f0330dc038139914a92e0ba1b15fd360b903d54;hpb=69f14dc2fd64307f012381dd333a06001dec75dc;p=oweals%2Fu-boot.git diff --git a/board/htkw/mcx/mcx.c b/board/htkw/mcx/mcx.c index 7f0330dc03..5ef383d971 100644 --- a/board/htkw/mcx/mcx.c +++ b/board/htkw/mcx/mcx.c @@ -3,19 +3,7 @@ * * Based on ti/evm/evm.c * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc. + * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -29,7 +17,7 @@ #include #include #include -#include "errno.h" +#include #include #ifdef CONFIG_USB_EHCI #include @@ -52,9 +40,10 @@ static struct omap_usbhs_board_data usbhs_bdata = { .port_mode[2] = OMAP_USBHS_PORT_MODE_UNUSED, }; -int ehci_hcd_init(int index, struct ehci_hccr **hccr, struct ehci_hcor **hcor) +int ehci_hcd_init(int index, enum usb_init_type init, + struct ehci_hccr **hccr, struct ehci_hcor **hcor) { - return omap_ehci_hcd_init(&usbhs_bdata, hccr, hcor); + return omap_ehci_hcd_init(index, &usbhs_bdata, hccr, hcor); } int ehci_hcd_stop(int index)