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