aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-rcar.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/xhci-rcar.h')
-rw-r--r--drivers/usb/host/xhci-rcar.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-rcar.h b/drivers/usb/host/xhci-rcar.h
new file mode 100644
index 000000000000..58501256715d
--- /dev/null
+++ b/drivers/usb/host/xhci-rcar.h
@@ -0,0 +1,27 @@
1/*
2 * drivers/usb/host/xhci-rcar.h
3 *
4 * Copyright (C) 2014 Renesas Electronics Corporation
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * version 2 as published by the Free Software Foundation.
9 */
10
11#ifndef _XHCI_RCAR_H
12#define _XHCI_RCAR_H
13
14#if IS_ENABLED(CONFIG_USB_XHCI_RCAR)
15void xhci_rcar_start(struct usb_hcd *hcd);
16int xhci_rcar_init_quirk(struct usb_hcd *hcd);
17#else
18static inline void xhci_rcar_start(struct usb_hcd *hcd)
19{
20}
21
22static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd)
23{
24 return 0;
25}
26#endif
27#endif /* _XHCI_RCAR_H */