From ee4241b76814f06438dbf14b19681af191f079f1 Mon Sep 17 00:00:00 2001 From: Yue Ma Date: Mon, 10 Sep 2018 17:20:54 -0700 Subject: cnss2: Add API to check if WLAN PCIe device is down API provision for WLAN host driver to check if WLAN PCIe device is down. Change-Id: I91efcd781af67c72b787c89e6b619c4cc49da34b Signed-off-by: Yue Ma --- include/net/cnss2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/net/cnss2.h b/include/net/cnss2.h index 3a8b503c1938..e06f0b670d90 100644 --- a/include/net/cnss2.h +++ b/include/net/cnss2.h @@ -167,6 +167,7 @@ static inline int cnss_wlan_pm_control(struct device *dev, bool vote) return 0; } #endif /* CONFIG_PCI_MSM */ +extern int cnss_pci_is_device_down(struct device *dev); extern void cnss_schedule_recovery(struct device *dev, enum cnss_recovery_reason reason); extern int cnss_self_recovery(struct device *dev, -- cgit v1.2.3