Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * debug.h - Designware USB2 DRD controller debug header
0004  *
0005  * Copyright (C) 2015 Intel Corporation
0006  * Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
0007  */
0008 
0009 #include "core.h"
0010 
0011 #ifdef CONFIG_DEBUG_FS
0012 int dwc2_debugfs_init(struct dwc2_hsotg *hsotg);
0013 void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg);
0014 #else
0015 static inline int dwc2_debugfs_init(struct dwc2_hsotg *hsotg)
0016 {  return 0;  }
0017 static inline void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg)
0018 {  }
0019 #endif