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
22 * Author Name: Maxim Grabarnik <maxim.grabarnink@intel.com>
31 #ifdef CONFIG_IWMC3200TOP_DEBUGFS
33 struct iwmct_debugfs
{
35 struct dentry
*dir_drv
;
36 struct dir_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 */
48 iwmct_dbgfs_register(struct iwmct_priv
*priv
, const char *name
)
52 iwmct_dbgfs_unregister(struct iwmct_debugfs
*dbgfs
)
55 #endif /* CONFIG_IWMC3200TOP_DEBUGFS */
57 #endif /* __DEBUGFS_H__ */