spi-topcliff-pch: add recovery processing in case wait-event timeout
[zen-stable.git] / drivers / misc / iwmc3200top / debugfs.h
blob71d45759b40f6b3afa2c4618f13d9f41dd848326
1 /*
2 * iwmc3200top - Intel Wireless MultiCom 3200 Top Driver
3 * drivers/misc/iwmc3200top/debufs.h
5 * Copyright (C) 2009 Intel Corporation. All rights reserved.
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.
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.
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.
22 * Author Name: Maxim Grabarnik <maxim.grabarnink@intel.com>
23 * -
27 #ifndef __DEBUGFS_H__
28 #define __DEBUGFS_H__
31 #ifdef CONFIG_IWMC3200TOP_DEBUGFS
33 struct iwmct_debugfs {
34 const char *name;
35 struct dentry *dir_drv;
36 struct dir_drv_files {
37 } dbgfs_drv_files;
40 void iwmct_dbgfs_register(struct iwmct_priv *priv, const char *name);
41 void iwmct_dbgfs_unregister(struct iwmct_debugfs *dbgfs);
43 #else /* CONFIG_IWMC3200TOP_DEBUGFS */
45 struct iwmct_debugfs;
47 static inline void
48 iwmct_dbgfs_register(struct iwmct_priv *priv, const char *name)
51 static inline void
52 iwmct_dbgfs_unregister(struct iwmct_debugfs *dbgfs)
55 #endif /* CONFIG_IWMC3200TOP_DEBUGFS */
57 #endif /* __DEBUGFS_H__ */