Linux Audio

Check our new training course

Loading...
v4.6
 
 1/*
 2 * Copyright (C) 2014 Marvell
 3 *
 4 * Gregory Clement <gregory.clement@free-electrons.com>
 5 *
 6 * This file is licensed under the terms of the GNU General Public
 7 * License version 2.  This program is licensed "as is" without any
 8 * warranty of any kind, whether express or implied.
 9 */
10
11#ifndef __LINUX_XHCI_MVEBU_H
12#define __LINUX_XHCI_MVEBU_H
 
 
 
13#if IS_ENABLED(CONFIG_USB_XHCI_MVEBU)
14int xhci_mvebu_mbus_init_quirk(struct platform_device *pdev);
 
15#else
16static inline int xhci_mvebu_mbus_init_quirk(struct platform_device *pdev)
 
 
 
 
 
17{
18	return 0;
19}
20#endif
21#endif /* __LINUX_XHCI_MVEBU_H */
v6.8
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 * Copyright (C) 2014 Marvell
 4 *
 5 * Gregory Clement <gregory.clement@free-electrons.com>
 
 
 
 
 6 */
 7
 8#ifndef __LINUX_XHCI_MVEBU_H
 9#define __LINUX_XHCI_MVEBU_H
10
11struct usb_hcd;
12
13#if IS_ENABLED(CONFIG_USB_XHCI_MVEBU)
14int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd);
15int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd);
16#else
17static inline int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd)
18{
19	return 0;
20}
21
22static inline int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd)
23{
24	return 0;
25}
26#endif
27#endif /* __LINUX_XHCI_MVEBU_H */