]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/net/wireless/iwlegacy/iwl-4965-debugfs.h
iwlegacy: rename iwl to il
[mirror_ubuntu-bionic-kernel.git] / drivers / net / wireless / iwlegacy / iwl-4965-debugfs.h
CommitLineData
4bc85c13
WYG
1/******************************************************************************
2 *
3 * GPL LICENSE SUMMARY
4 *
be663ab6 5 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
4bc85c13
WYG
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of version 2 of the GNU General Public License as
9 * published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * 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 02110,
19 * USA
20 *
21 * The full GNU General Public License is included in this distribution
22 * in the file called LICENSE.GPL.
23 *
24 * Contact Information:
25 * Intel Linux Wireless <ilw@linux.intel.com>
26 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
27 *****************************************************************************/
28
29#include "iwl-dev.h"
30#include "iwl-core.h"
31#include "iwl-debug.h"
32
be663ab6 33#ifdef CONFIG_IWLWIFI_LEGACY_DEBUGFS
e2ebc833 34ssize_t il4965_ucode_rx_stats_read(struct file *file, char __user *user_buf,
be663ab6 35 size_t count, loff_t *ppos);
e2ebc833 36ssize_t il4965_ucode_tx_stats_read(struct file *file, char __user *user_buf,
be663ab6 37 size_t count, loff_t *ppos);
e2ebc833 38ssize_t il4965_ucode_general_stats_read(struct file *file,
be663ab6 39 char __user *user_buf, size_t count, loff_t *ppos);
4bc85c13 40#else
be663ab6 41static ssize_t
e2ebc833 42il4965_ucode_rx_stats_read(struct file *file, char __user *user_buf,
be663ab6 43 size_t count, loff_t *ppos)
4bc85c13
WYG
44{
45 return 0;
46}
be663ab6 47static ssize_t
e2ebc833 48il4965_ucode_tx_stats_read(struct file *file, char __user *user_buf,
be663ab6 49 size_t count, loff_t *ppos)
4bc85c13
WYG
50{
51 return 0;
52}
be663ab6 53static ssize_t
e2ebc833 54il4965_ucode_general_stats_read(struct file *file, char __user *user_buf,
be663ab6 55 size_t count, loff_t *ppos)
4bc85c13
WYG
56{
57 return 0;
58}
59#endif