Browse Source

qcacmn: Fix gpio function arguments in #else path

Fix gpio command arguments in #else case. When WLAN_FEATURE_GPIO_CFG
is set to 0, the else path of macro is executed and the function
arguments are not matching with that of the declaration.

Change-Id: I182a636e53217dfca5a697f280316f30b1afd8ba
Nandha Kishore Easwaran 4 years ago
parent
commit
e9dba9646b
1 changed files with 4 additions and 2 deletions
  1. 4 2
      gpio/dispatcher/inc/wlan_gpio_tgt_api.h

+ 4 - 2
gpio/dispatcher/inc/wlan_gpio_tgt_api.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -80,7 +80,9 @@ QDF_STATUS tgt_gpio_output(struct wlan_objmgr_psoc *psoc, uint32_t gpio_num,
 #else
 static QDF_STATUS tgt_gpio_config(struct wlan_objmgr_psoc *psoc,
 				  uint32_t gpio_num, uint32_t input,
-				  uint32_t pull_type, uint32_t intr_mode)
+				  uint32_t pull_type, uint32_t intr_mode,
+				  uint32_t mux_config_val, uint32_t drive,
+				  uint32_t init_enable)
 {
 	return QDF_STATUS_SUCCESS;
 }