debug.h 495 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * debug.h - Designware USB2 DRD controller debug header
  4. *
  5. * Copyright (C) 2015 Intel Corporation
  6. * Mian Yousaf Kaukab <[email protected]>
  7. */
  8. #include "core.h"
  9. #ifdef CONFIG_DEBUG_FS
  10. int dwc2_debugfs_init(struct dwc2_hsotg *hsotg);
  11. void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg);
  12. #else
  13. static inline int dwc2_debugfs_init(struct dwc2_hsotg *hsotg)
  14. { return 0; }
  15. static inline void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg)
  16. { }
  17. #endif