2017-11-03 10:28:30 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2014-05-15 10:17:33 +00: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 10:17:15 +00:00
|
|
|
|
|
|
|
struct usb_hcd;
|
|
|
|
|
2014-05-15 10:17:33 +00:00
|
|
|
#if IS_ENABLED(CONFIG_USB_XHCI_MVEBU)
|
2016-04-22 10:17:15 +00:00
|
|
|
int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd);
|
2019-01-29 09:23:41 +00:00
|
|
|
int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd);
|
2014-05-15 10:17:33 +00:00
|
|
|
#else
|
2016-04-22 10:17:15 +00:00
|
|
|
static inline int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd)
|
2014-05-15 10:17:33 +00:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2019-01-29 09:23:41 +00:00
|
|
|
|
|
|
|
static inline int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2014-05-15 10:17:33 +00:00
|
|
|
#endif
|
|
|
|
#endif /* __LINUX_XHCI_MVEBU_H */
|