blob: ca0a3a5721dd720f58e715e302a67b444f8858fd [file] [log] [blame]
Greg Kroah-Hartman5fd54ac2017-11-03 11:28:30 +01001// SPDX-License-Identifier: GPL-2.0
Gregory CLEMENT97374792014-05-15 12:17:33 +02002/*
3 * Copyright (C) 2014 Marvell
4 *
5 * Gregory Clement <gregory.clement@free-electrons.com>
Gregory CLEMENT97374792014-05-15 12:17:33 +02006 */
7
8#ifndef __LINUX_XHCI_MVEBU_H
9#define __LINUX_XHCI_MVEBU_H
Felipe Balbi72d4b282016-04-22 13:17:15 +030010
11struct usb_hcd;
12
Gregory CLEMENT97374792014-05-15 12:17:33 +020013#if IS_ENABLED(CONFIG_USB_XHCI_MVEBU)
Felipe Balbi72d4b282016-04-22 13:17:15 +030014int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd);
Ofer Heifetz12453a82019-01-29 10:23:41 +010015int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd);
Gregory CLEMENT97374792014-05-15 12:17:33 +020016#else
Felipe Balbi72d4b282016-04-22 13:17:15 +030017static inline int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd)
Gregory CLEMENT97374792014-05-15 12:17:33 +020018{
19 return 0;
20}
Ofer Heifetz12453a82019-01-29 10:23:41 +010021
22static inline int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd)
23{
24 return 0;
25}
Gregory CLEMENT97374792014-05-15 12:17:33 +020026#endif
27#endif /* __LINUX_XHCI_MVEBU_H */