diff options
Diffstat (limited to 'drivers/usb/chipidea/debug.h')
-rw-r--r-- | drivers/usb/chipidea/debug.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/usb/chipidea/debug.h b/drivers/usb/chipidea/debug.h index 425f1ff6284a..7ca6ca0a24a5 100644 --- a/drivers/usb/chipidea/debug.h +++ b/drivers/usb/chipidea/debug.h | |||
@@ -14,17 +14,16 @@ | |||
14 | #define __DRIVERS_USB_CHIPIDEA_DEBUG_H | 14 | #define __DRIVERS_USB_CHIPIDEA_DEBUG_H |
15 | 15 | ||
16 | #ifdef CONFIG_USB_CHIPIDEA_DEBUG | 16 | #ifdef CONFIG_USB_CHIPIDEA_DEBUG |
17 | int dbg_create_files(struct device *dev); | 17 | int dbg_create_files(struct ci13xxx *ci); |
18 | int dbg_remove_files(struct device *dev); | 18 | void dbg_remove_files(struct ci13xxx *ci); |
19 | #else | 19 | #else |
20 | static inline int dbg_create_files(struct device *dev) | 20 | static inline int dbg_create_files(struct ci13xxx *ci) |
21 | { | 21 | { |
22 | return 0; | 22 | return 0; |
23 | } | 23 | } |
24 | 24 | ||
25 | static inline int dbg_remove_files(struct device *dev) | 25 | static inline void dbg_remove_files(struct ci13xxx *ci) |
26 | { | 26 | { |
27 | return 0; | ||
28 | } | 27 | } |
29 | #endif | 28 | #endif |
30 | 29 | ||