Merge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm
[linux-2.6.git] / drivers / usb / chipidea / debug.h
blob7ca6ca0a24a5056726c1c9af68baa3c34410c744
1 /*
2 * debug.h - ChipIdea USB driver debug interfaces
4 * Copyright (C) 2008 Chipidea - MIPS Technologies, Inc. All rights reserved.
6 * Author: David Lopo
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #ifndef __DRIVERS_USB_CHIPIDEA_DEBUG_H
14 #define __DRIVERS_USB_CHIPIDEA_DEBUG_H
16 #ifdef CONFIG_USB_CHIPIDEA_DEBUG
17 int dbg_create_files(struct ci13xxx *ci);
18 void dbg_remove_files(struct ci13xxx *ci);
19 #else
20 static inline int dbg_create_files(struct ci13xxx *ci)
22 return 0;
25 static inline void dbg_remove_files(struct ci13xxx *ci)
28 #endif
30 #endif /* __DRIVERS_USB_CHIPIDEA_DEBUG_H */