linux/drivers/usb/host/xhci-mvebu.h
<<
>>
Prefs
   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_plat_setup(struct usb_hcd *hcd);
  16int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd);
  17#else
  18static inline int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd)
  19{
  20        return 0;
  21}
  22
  23static inline int xhci_mvebu_a3700_plat_setup(struct usb_hcd *hcd)
  24{
  25        return 0;
  26}
  27
  28static inline int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd)
  29{
  30        return 0;
  31}
  32#endif
  33#endif /* __LINUX_XHCI_MVEBU_H */
  34