blob: 425f1ff6284aa50d36e467ed6a935758ea5c4106 [file] [log] [blame]
Alexander Shishkine443b332012-05-11 17:25:46 +03001/*
2 * debug.h - ChipIdea USB driver debug interfaces
3 *
4 * Copyright (C) 2008 Chipidea - MIPS Technologies, Inc. All rights reserved.
5 *
6 * Author: David Lopo
7 *
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.
11 */
12
13#ifndef __DRIVERS_USB_CHIPIDEA_DEBUG_H
14#define __DRIVERS_USB_CHIPIDEA_DEBUG_H
15
16#ifdef CONFIG_USB_CHIPIDEA_DEBUG
Alexander Shishkine443b332012-05-11 17:25:46 +030017int dbg_create_files(struct device *dev);
18int dbg_remove_files(struct device *dev);
19#else
Alexander Shishkine443b332012-05-11 17:25:46 +030020static inline int dbg_create_files(struct device *dev)
21{
22 return 0;
23}
24
25static inline int dbg_remove_files(struct device *dev)
26{
27 return 0;
28}
29#endif
30
31#endif /* __DRIVERS_USB_CHIPIDEA_DEBUG_H */