blob: 01bf3fcb3eca5da04cbb7017e11cc176e2bf6eb3 [file] [log] [blame]
Nishad Kamdar3e45ed32020-04-04 14:51:40 +05301/* 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);
Pali Rohár32419292021-02-01 16:08:03 +010015int xhci_mvebu_a3700_plat_setup(struct usb_hcd *hcd);
Ofer Heifetz12453a82019-01-29 10:23:41 +010016int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd);
Gregory CLEMENT97374792014-05-15 12:17:33 +020017#else
Felipe Balbi72d4b282016-04-22 13:17:15 +030018static inline int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd)
Gregory CLEMENT97374792014-05-15 12:17:33 +020019{
20 return 0;
21}
Ofer Heifetz12453a82019-01-29 10:23:41 +010022
Pali Rohár32419292021-02-01 16:08:03 +010023static inline int xhci_mvebu_a3700_plat_setup(struct usb_hcd *hcd)
24{
25 return 0;
26}
27
Ofer Heifetz12453a82019-01-29 10:23:41 +010028static inline int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd)
29{
30 return 0;
31}
Gregory CLEMENT97374792014-05-15 12:17:33 +020032#endif
33#endif /* __LINUX_XHCI_MVEBU_H */