upload tizen1.0 source
[kernel/linux-2.6.36.git] / drivers / misc / iwmc3200top / debugfs.h
1 /*
2  * iwmc3200top - Intel Wireless MultiCom 3200 Top Driver
3  * drivers/misc/iwmc3200top/debufs.h
4  *
5  * Copyright (C) 2009 Intel Corporation. All rights reserved.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License version
9  * 2 as published by the Free Software Foundation.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19  * 02110-1301, USA.
20  *
21  *
22  * Author Name: Maxim Grabarnik <maxim.grabarnink@intel.com>
23  *  -
24  *
25  */
26
27 #ifndef __DEBUGFS_H__
28 #define __DEBUGFS_H__
29
30
31 #ifdef CONFIG_IWMC3200TOP_DEBUGFS
32
33 struct iwmct_debugfs {
34         const char *name;
35         struct dentry *dir_drv;
36         struct dir_drv_files {
37         } dbgfs_drv_files;
38 };
39
40 void iwmct_dbgfs_register(struct iwmct_priv *priv, const char *name);
41 void iwmct_dbgfs_unregister(struct iwmct_debugfs *dbgfs);
42
43 #else /* CONFIG_IWMC3200TOP_DEBUGFS */
44
45 struct iwmct_debugfs;
46
47 static inline void
48 iwmct_dbgfs_register(struct iwmct_priv *priv, const char *name)
49 {}
50
51 static inline void
52 iwmct_dbgfs_unregister(struct iwmct_debugfs *dbgfs)
53 {}
54
55 #endif /* CONFIG_IWMC3200TOP_DEBUGFS */
56
57 #endif /* __DEBUGFS_H__ */
58