summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerry Zhou <tianguiz@codeaurora.org>2017-07-26 17:46:56 +0800
committersnandini <snandini@codeaurora.org>2017-07-26 05:23:53 -0700
commitbb56d5a05bed73499f4c471afcfef81328283012 (patch)
tree4b9c312bd165cc2f9ca2e0fb0bef12505acb389c
parent67ec90c341bb144e3927661fc754607ec0e8c883 (diff)
qcacld-2.0: Fix build error of function prototype
Change-Id: I31bf0e6a2cb8b746dbff1a4fc00632d1221b4bdf CRs-Fixed: 1113905
-rw-r--r--CORE/HDD/src/wlan_hdd_debugfs_ocb.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/CORE/HDD/src/wlan_hdd_debugfs_ocb.c b/CORE/HDD/src/wlan_hdd_debugfs_ocb.c
index 44e27f2eaa4a..8c4fd1821825 100644
--- a/CORE/HDD/src/wlan_hdd_debugfs_ocb.c
+++ b/CORE/HDD/src/wlan_hdd_debugfs_ocb.c
@@ -277,9 +277,10 @@ static int __wlan_hdd_read_dsrc_chan_stats_debugfs(struct file *file,
return ret_cnt;
}
-static int wlan_hdd_write_dsrc_chan_stats_debugfs(struct file *file,
- const char __user *buf,
- size_t count, loff_t *ppos)
+static ssize_t wlan_hdd_write_dsrc_chan_stats_debugfs(struct file *file,
+ const char __user *buf,
+ size_t count,
+ loff_t *ppos)
{
ssize_t ret;
@@ -290,9 +291,9 @@ static int wlan_hdd_write_dsrc_chan_stats_debugfs(struct file *file,
return ret;
}
-static int wlan_hdd_read_dsrc_chan_stats_debugfs(struct file *file,
- char __user *buf,
- size_t count, loff_t *pos)
+static ssize_t wlan_hdd_read_dsrc_chan_stats_debugfs(struct file *file,
+ char __user *buf,
+ size_t count, loff_t *pos)
{
int ret;