summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hsu <ryanhsu@qca.qualcomm.com>2015-04-24 13:44:36 -0700
committerAnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com>2015-05-04 23:39:25 +0530
commit0b98ddce2a997ef6151dade425956477e382519a (patch)
tree6abd594d69b58dbefefba36b67972c43ea9045a1
parent59cb8d4e6423ee2e551e3b665cdd45e6ddcbba6c (diff)
qcacld2.0: typedef ctl_table is deprecated
Begining from Kernel 3.17, the typedef ctl_table is removed. Change to use the struct ctl_table. Change-Id: Ib031d3ad3aa1828b2e8bce146cd727d2c74fe29a CRs-fixed: 827110
-rw-r--r--CORE/SERVICES/COMMON/osdep_adf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/SERVICES/COMMON/osdep_adf.h b/CORE/SERVICES/COMMON/osdep_adf.h
index 708b6f89fa03..04dc5985ecd5 100644
--- a/CORE/SERVICES/COMMON/osdep_adf.h
+++ b/CORE/SERVICES/COMMON/osdep_adf.h
@@ -161,7 +161,7 @@ typedef unsigned long TQUEUE_ARG;
#define mark_bh(a)
#define ATH_SYSCTL_DECL(f, ctl, write, filp, buffer, lenp, ppos) \
- f(ctl_table *ctl, int write, void *buffer, \
+ f(struct ctl_table *ctl, int write, void *buffer, \
size_t *lenp, loff_t *ppos)
#define ATH_SYSCTL_PROC_DOINTVEC(ctl, write, filp, buffer, lenp, ppos) \
proc_dointvec(ctl, write, buffer, lenp, ppos)