X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fhtkw%2Fmcx%2Fmcx.c;h=5ef383d97122f4528883078b32ac0e124d8fee23;hb=b5bf5cb3b3e81298247a53d5b514cf941cd13a9f;hp=923461a3902382dbad6e757f441a9fc1c1a6e25e;hpb=6579d15c58e2b6b051f126ea8b77dd767252aa14;p=oweals%2Fu-boot.git diff --git a/board/htkw/mcx/mcx.c b/board/htkw/mcx/mcx.c index 923461a390..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 @@ -28,8 +16,8 @@ #include #include #include -#include -#include "errno.h" +#include +#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)