Browse Source

cnss2: fix issue in return type of debug functions

Fix issue in return type of following functions:
 - cnss_rddm_trigger_debug()
 - cnss_rddm_trigger_check()

Change-Id: I41eb4637605f9a2189e03e732c688c25b0895a90
CRs-Fixed: 3304957
Rajesh Chauhan 2 years ago
parent
commit
f7e10ed87e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cnss2/pci.c

+ 2 - 2
cnss2/pci.c

@@ -1691,7 +1691,7 @@ static int cnss_pci_check_mhi_state_bit(struct cnss_pci_data *pci_priv,
 	return -EINVAL;
 }
 
-static cnss_rddm_trigger_debug(struct cnss_pci_data *pci_priv)
+static int cnss_rddm_trigger_debug(struct cnss_pci_data *pci_priv)
 {
 	int read_val, ret;
 
@@ -1715,7 +1715,7 @@ static cnss_rddm_trigger_debug(struct cnss_pci_data *pci_priv)
 	return ret;
 }
 
-static cnss_rddm_trigger_check(struct cnss_pci_data *pci_priv)
+static int cnss_rddm_trigger_check(struct cnss_pci_data *pci_priv)
 {
 	int read_val, ret;