Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 | |
| 11 | struct usb_hcd; |
| 12 | |
| 13 | #if IS_ENABLED(CONFIG_USB_XHCI_MVEBU) |
| 14 | int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd); |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 15 | int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd); |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 16 | #else |
| 17 | static inline int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd) |
| 18 | { |
| 19 | return 0; |
| 20 | } |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 21 | |
| 22 | static inline int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd) |
| 23 | { |
| 24 | return 0; |
| 25 | } |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 26 | #endif |
| 27 | #endif /* __LINUX_XHCI_MVEBU_H */ |