X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fusb%2Fhost%2Fehci-faraday.c;h=3b761bc326a2a44fc53169cd1853278ec00d0aad;hb=e89d623f099c44b0b166ccf46bce2e6a0b99c984;hp=86add36ce11b9a7a154e0070bb8964e9e5987f4e;hpb=e82a316d7f9425943d86c1ed61c5cf57b0d5b188;p=u-boot diff --git a/drivers/usb/host/ehci-faraday.c b/drivers/usb/host/ehci-faraday.c index 86add36ce1..3b761bc326 100644 --- a/drivers/usb/host/ehci-faraday.c +++ b/drivers/usb/host/ehci-faraday.c @@ -4,8 +4,7 @@ * (C) Copyright 2010 Faraday Technology * Dante Su * - * This file is released under the terms of GPL v2 and any later version. - * See the file COPYING in the root directory of the source tree for details. + * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -34,8 +33,8 @@ static inline int ehci_is_fotg2xx(union ehci_faraday_regs *regs) * Create the appropriate control structures to manage * a new EHCI host controller. */ -int ehci_hcd_init(int index, struct ehci_hccr **ret_hccr, - struct ehci_hcor **ret_hcor) +int ehci_hcd_init(int index, enum usb_init_type init, + struct ehci_hccr **ret_hccr, struct ehci_hcor **ret_hcor) { struct ehci_hccr *hccr; struct ehci_hcor *hcor;