mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-10 15:39:38 +00:00
rtl8188eu: Remove CONFIG_GPIO_WAKEUP
This symbol was not defined. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
ed192682fe
commit
dfeb1b4e83
2 changed files with 0 additions and 25 deletions
5
Makefile
5
Makefile
|
@ -22,7 +22,6 @@ CONFIG_POWER_SAVING = y
|
|||
CONFIG_USB_AUTOSUSPEND = n
|
||||
CONFIG_BT_COEXIST = n
|
||||
CONFIG_EXT_CLK = n
|
||||
CONFIG_GPIO_WAKEUP = n
|
||||
CONFIG_ODM_ADAPTIVITY = n
|
||||
|
||||
CONFIG_DRVEXT_MODULE = n
|
||||
|
@ -103,10 +102,6 @@ ifeq ($(CONFIG_ODM_ADAPTIVITY), y)
|
|||
EXTRA_CFLAGS += -DCONFIG_ODM_ADAPTIVITY
|
||||
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/)
|
||||
ARCH ?= $(SUBARCH)
|
||||
CROSS_COMPILE ?=
|
||||
|
|
|
@ -27,10 +27,6 @@
|
|||
#include <ioctl_cfg80211.h>
|
||||
#include <rtw_ioctl_set.h>
|
||||
|
||||
#ifdef CONFIG_GPIO_WAKEUP
|
||||
#include <linux/gpio.h>
|
||||
#endif
|
||||
|
||||
#include <drv_types.h>
|
||||
|
||||
#if defined(RTW_ENABLE_WIFI_CONTROL_FUNC)
|
||||
|
@ -42,11 +38,6 @@
|
|||
#endif
|
||||
#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] = {
|
||||
"START",
|
||||
"STOP",
|
||||
|
@ -722,17 +713,6 @@ static int wifi_probe(struct platform_device *pdev)
|
|||
else
|
||||
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_set_power(1, 0); /* Power On */
|
||||
|
|
Loading…
Reference in a new issue