rtl8188eu: Remove CONFIG_GPIO_WAKEUP

This symbol was not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-03-02 17:06:30 -06:00
parent ed192682fe
commit dfeb1b4e83
2 changed files with 0 additions and 25 deletions

View file

@ -22,7 +22,6 @@ CONFIG_POWER_SAVING = y
CONFIG_USB_AUTOSUSPEND = n CONFIG_USB_AUTOSUSPEND = n
CONFIG_BT_COEXIST = n CONFIG_BT_COEXIST = n
CONFIG_EXT_CLK = n CONFIG_EXT_CLK = n
CONFIG_GPIO_WAKEUP = n
CONFIG_ODM_ADAPTIVITY = n CONFIG_ODM_ADAPTIVITY = n
CONFIG_DRVEXT_MODULE = n CONFIG_DRVEXT_MODULE = n
@ -103,10 +102,6 @@ ifeq ($(CONFIG_ODM_ADAPTIVITY), y)
EXTRA_CFLAGS += -DCONFIG_ODM_ADAPTIVITY EXTRA_CFLAGS += -DCONFIG_ODM_ADAPTIVITY
endif endif
ifeq ($(CONFIG_GPIO_WAKEUP), y)
EXTRA_CFLAGS += -DCONFIG_GPIO_WAKEUP
endif
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/ppc/powerpc/ | sed -e s/armv.l/arm/) SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/ppc/powerpc/ | sed -e s/armv.l/arm/)
ARCH ?= $(SUBARCH) ARCH ?= $(SUBARCH)
CROSS_COMPILE ?= CROSS_COMPILE ?=

View file

@ -27,10 +27,6 @@
#include <ioctl_cfg80211.h> #include <ioctl_cfg80211.h>
#include <rtw_ioctl_set.h> #include <rtw_ioctl_set.h>
#ifdef CONFIG_GPIO_WAKEUP
#include <linux/gpio.h>
#endif
#include <drv_types.h> #include <drv_types.h>
#if defined(RTW_ENABLE_WIFI_CONTROL_FUNC) #if defined(RTW_ENABLE_WIFI_CONTROL_FUNC)
@ -42,11 +38,6 @@
#endif #endif
#endif /* defined(RTW_ENABLE_WIFI_CONTROL_FUNC) */ #endif /* defined(RTW_ENABLE_WIFI_CONTROL_FUNC) */
#ifdef CONFIG_GPIO_WAKEUP
#include <linux/interrupt.h>
#include <linux/irq.h>
#endif
static const char *android_wifi_cmd_str[ANDROID_WIFI_CMD_MAX] = { static const char *android_wifi_cmd_str[ANDROID_WIFI_CMD_MAX] = {
"START", "START",
"STOP", "STOP",
@ -722,17 +713,6 @@ static int wifi_probe(struct platform_device *pdev)
else else
wifi_wake_gpio = wifi_irqres->start; wifi_wake_gpio = wifi_irqres->start;
#ifdef CONFIG_GPIO_WAKEUP
printk("%s: gpio:%d wifi_wake_gpio:%d\n", __func__,
wifi_irqres->start, wifi_wake_gpio);
if (wifi_wake_gpio > 0) {
gpio_request(wifi_wake_gpio, "oob_irq");
gpio_direction_input(wifi_wake_gpio);
oob_irq = gpio_to_irq(wifi_wake_gpio);
printk("%s oob_irq:%d\n", __func__, oob_irq);
}
#endif
wifi_control_data = wifi_ctrl; wifi_control_data = wifi_ctrl;
wifi_set_power(1, 0); /* Power On */ wifi_set_power(1, 0); /* Power On */