mfd: wm8350-i2c: Make sure the i2c regmap functions are compiled
[linux/fpc-iii.git] / drivers / usb / dwc3 / debug.h
blobfceb39dc4bba331a89e78f8d1298d566fb3d4b18
1 /**
2 * debug.h - DesignWare USB3 DRD Controller Debug Header
4 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com
6 * Authors: Felipe Balbi <balbi@ti.com>,
7 * Sebastian Andrzej Siewior <bigeasy@linutronix.de>
9 * This program is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 of
11 * the License as published by the Free Software Foundation.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
19 #include "core.h"
21 #ifdef CONFIG_DEBUG_FS
22 extern int dwc3_debugfs_init(struct dwc3 *);
23 extern void dwc3_debugfs_exit(struct dwc3 *);
24 #else
25 static inline int dwc3_debugfs_init(struct dwc3 *d)
26 { return 0; }
27 static inline void dwc3_debugfs_exit(struct dwc3 *d)
28 { }
29 #endif