xhci-rcar.h 632 B

123456789101112131415161718192021222324252627
  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. #ifndef _XHCI_RCAR_H
  11. #define _XHCI_RCAR_H
  12. #if IS_ENABLED(CONFIG_USB_XHCI_RCAR)
  13. void xhci_rcar_start(struct usb_hcd *hcd);
  14. int xhci_rcar_init_quirk(struct usb_hcd *hcd);
  15. #else
  16. static inline void xhci_rcar_start(struct usb_hcd *hcd)
  17. {
  18. }
  19. static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd)
  20. {
  21. return 0;
  22. }
  23. #endif
  24. #endif /* _XHCI_RCAR_H */