xhci-mvebu.h 705 B

123456789101112131415161718192021222324252627282930313233
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2014 Marvell
  4. *
  5. * Gregory Clement <gregory.clement@free-electrons.com>
  6. */
  7. #ifndef __LINUX_XHCI_MVEBU_H
  8. #define __LINUX_XHCI_MVEBU_H
  9. struct usb_hcd;
  10. #if IS_ENABLED(CONFIG_USB_XHCI_MVEBU)
  11. int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd);
  12. int xhci_mvebu_a3700_plat_setup(struct usb_hcd *hcd);
  13. int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd);
  14. #else
  15. static inline int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd)
  16. {
  17. return 0;
  18. }
  19. static inline int xhci_mvebu_a3700_plat_setup(struct usb_hcd *hcd)
  20. {
  21. return 0;
  22. }
  23. static inline int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd)
  24. {
  25. return 0;
  26. }
  27. #endif
  28. #endif /* __LINUX_XHCI_MVEBU_H */