mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
72d4b2847d
Just like RCAR's init_quirk() we want mvebu's to use struct usb_hcd * as argument too. This is another step towards removing xhci_plat_type_is(). Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
24 lines
583 B
C
24 lines
583 B
C
/*
|
|
* Copyright (C) 2014 Marvell
|
|
*
|
|
* Gregory Clement <gregory.clement@free-electrons.com>
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
#ifndef __LINUX_XHCI_MVEBU_H
|
|
#define __LINUX_XHCI_MVEBU_H
|
|
|
|
struct usb_hcd;
|
|
|
|
#if IS_ENABLED(CONFIG_USB_XHCI_MVEBU)
|
|
int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd);
|
|
#else
|
|
static inline int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|
|
#endif /* __LINUX_XHCI_MVEBU_H */
|