summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/conf.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2012-06-07 20:39:24 (GMT)
committerLuciano Coelho <coelho@ti.com>2012-06-08 06:14:08 (GMT)
commit648f6ed9f7f0e4d56d65266734e748a02f8e2df7 (patch)
tree734369cee07cfebf4b426923174a3ecf510ee00c /drivers/net/wireless/ti/wlcore/conf.h
parent9c6ead570c6b88b865fca15bdc0d09e2d90d2130 (diff)
downloadlinux-fsl-qoriq-648f6ed9f7f0e4d56d65266734e748a02f8e2df7.tar.xz
wlcore/wl18xx/wl12xx: use u8 instead of bool for host_fast_wakeup_support
The conf structure is going to be exported to a file, so we should use only well defined types. bool is not well defined and may vary from platform to platform, so change the host_fast_wakeup_support type to u8 instead. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/conf.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/conf.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/net/wireless/ti/wlcore/conf.h b/drivers/net/wireless/ti/wlcore/conf.h
index d2c4885..2e84ae1 100644
--- a/drivers/net/wireless/ti/wlcore/conf.h
+++ b/drivers/net/wireless/ti/wlcore/conf.h
@@ -981,6 +981,11 @@ struct conf_itrim_settings {
u32 timeout;
};
+enum conf_fast_wakeup {
+ CONF_FAST_WAKEUP_ENABLE,
+ CONF_FAST_WAKEUP_DISABLE,
+};
+
struct conf_pm_config_settings {
/*
* Host clock settling time
@@ -992,9 +997,9 @@ struct conf_pm_config_settings {
/*
* Host fast wakeup support
*
- * Range: true, false
+ * Range: enum conf_fast_wakeup
*/
- bool host_fast_wakeup_support;
+ u8 host_fast_wakeup_support;
};
struct conf_roam_trigger_settings {