summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorAmar Singhal <asinghal@codeaurora.org>2017-06-07 16:53:06 -0700
committerAmar Singhal <asinghal@codeaurora.org>2017-06-09 12:45:06 -0700
commite090be48c63be1718fe0479c4ee600384cc0402d (patch)
tree9783f1b8a131a15655c33c15d67c0b93c86810ed /include/soc
parent55a25be010f62b574938ef3da38c50738db78cff (diff)
icnss: Add APIs to store driver load count
Host wlan driver needs to know if the drive has been reloaded and wiphy re-registered with the kernel. Therefore add APIs to retrieve this information. CRs-Fixed: 2058292 Change-Id: Ia323e31e9b6779e2f5279f42b6e1860a9259a189 Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/qcom/icnss.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/soc/qcom/icnss.h b/include/soc/qcom/icnss.h
index b434da092b8e..0764b9e26962 100644
--- a/include/soc/qcom/icnss.h
+++ b/include/soc/qcom/icnss.h
@@ -152,4 +152,6 @@ extern u8 *icnss_get_wlan_mac_address(struct device *dev, uint32_t *num);
extern int icnss_trigger_recovery(struct device *dev);
extern void cnss_set_cc_source(enum cnss_cc_src cc_source);
extern enum cnss_cc_src cnss_get_cc_source(void);
+extern int icnss_get_driver_load_cnt(void);
+extern void icnss_increment_driver_load_cnt(void);
#endif /* _ICNSS_WLAN_H_ */