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
This commit is contained in:
Nandha Kishore Easwaran
2021-02-08 14:47:30 +05:30
committed by snandini
父節點 363cc4acca
當前提交 e9dba9646b

查看文件

@@ -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;
}