2017-11-03 18:28:30 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2014-05-15 18:17:33 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2014 Marvell
|
|
|
|
*
|
|
|
|
* Gregory Clement <gregory.clement@free-electrons.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __LINUX_XHCI_MVEBU_H
|
|
|
|
#define __LINUX_XHCI_MVEBU_H
|
2016-04-22 18:17:15 +08:00
|
|
|
|
|
|
|
struct usb_hcd;
|
|
|
|
|
2014-05-15 18:17:33 +08:00
|
|
|
#if IS_ENABLED(CONFIG_USB_XHCI_MVEBU)
|
2016-04-22 18:17:15 +08:00
|
|
|
int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd);
|
2024-06-11 20:26:44 +08:00
|
|
|
int xhci_mvebu_a3700_plat_setup(struct usb_hcd *hcd);
|
2019-01-29 17:23:41 +08:00
|
|
|
int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd);
|
2014-05-15 18:17:33 +08:00
|
|
|
#else
|
2016-04-22 18:17:15 +08:00
|
|
|
static inline int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd)
|
2014-05-15 18:17:33 +08:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2019-01-29 17:23:41 +08:00
|
|
|
|
2024-06-11 20:26:44 +08:00
|
|
|
static inline int xhci_mvebu_a3700_plat_setup(struct usb_hcd *hcd)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2019-01-29 17:23:41 +08:00
|
|
|
static inline int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2014-05-15 18:17:33 +08:00
|
|
|
#endif
|
|
|
|
#endif /* __LINUX_XHCI_MVEBU_H */
|