From e9dba9646bfd1954b96d80bae0adc757244cbde8 Mon Sep 17 00:00:00 2001 From: Nandha Kishore Easwaran Date: Mon, 8 Feb 2021 14:47:30 +0530 Subject: [PATCH] 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 --- gpio/dispatcher/inc/wlan_gpio_tgt_api.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gpio/dispatcher/inc/wlan_gpio_tgt_api.h b/gpio/dispatcher/inc/wlan_gpio_tgt_api.h index 74f19322e1..c8199fc32a 100644 --- a/gpio/dispatcher/inc/wlan_gpio_tgt_api.h +++ b/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; }