From 9c67942e152ce5891b4bf07709040e9773535eb9 Mon Sep 17 00:00:00 2001 From: Sarada Prasanna Garnayak Date: Wed, 12 Jul 2017 17:08:57 +0530 Subject: wcnss: remove the wcn external gpio configuration support The wcn external gpio configuration has moved to WLAN firmware code. To avoid the gpio resource request conflict and power offload failure between wcnss platform driver and WLAN firmware. Remove external gpio configuration from the wcnss platform driver. Change-Id: Iaef979437d9e48d66a5e9e2fc88bc5783fed7480 Signed-off-by: Sarada Prasanna Garnayak --- include/linux/wcnss_wlan.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/linux') diff --git a/include/linux/wcnss_wlan.h b/include/linux/wcnss_wlan.h index dbde018af4c6..e0c47f8b06bf 100644 --- a/include/linux/wcnss_wlan.h +++ b/include/linux/wcnss_wlan.h @@ -20,11 +20,6 @@ #define IRIS_REGULATORS 4 #define PRONTO_REGULATORS 3 -#define WCNSS_EXTERNAL_GPIO_NAME "qcom,wcn-external-gpio" -#define WCNSS_EXTERNAL_GPIO_HIGH 1 -#define WCNSS_EXTERNAL_GPIO_LOW 0 -#define WCNSS_EXTERNAL_GPIO_DIR_OUT 1 - enum wcnss_opcode { WCNSS_WLAN_SWITCH_OFF = 0, WCNSS_WLAN_SWITCH_ON, @@ -44,7 +39,6 @@ struct vregs_level { struct wcnss_wlan_config { bool wcn_external_gpio_support; - int wcn_external_gpio; int use_48mhz_xo; int is_pronto_vadc; int is_pronto_v3; -- cgit v1.2.3