From 71377b69a44d99b0a96cf3e3438c3828c6fba7c1 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Sun, 1 Mar 2015 10:20:25 -0600 Subject: [PATCH] rtl8188eu: Change CONFIG_IOL_READ_EFUSE_MAP to CONFIG_IOL When CONFIG_IOL is defined, then CONFIG_IOL_READ_EFUSE_MAP is automatically defined. Signed-off-by: Larry Finger --- hal/rtl8188e_hal_init.c | 2 +- include/autoconf.h | 1 - os_dep/usb_intf.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hal/rtl8188e_hal_init.c b/hal/rtl8188e_hal_init.c index bf730b7..0d7725d 100755 --- a/hal/rtl8188e_hal_init.c +++ b/hal/rtl8188e_hal_init.c @@ -1427,7 +1427,7 @@ ReadEFuseByIC( u8 logical_map[512]; #endif -#ifdef CONFIG_IOL_READ_EFUSE_MAP +#ifdef CONFIG_IOL if(!bPseudoTest )/* rtw_IOL_applied(Adapter)) */ { int ret = _FAIL; diff --git a/include/autoconf.h b/include/autoconf.h index ecd830d..6ed11f4 100755 --- a/include/autoconf.h +++ b/include/autoconf.h @@ -58,7 +58,6 @@ #endif // CONFIG_LED #ifdef CONFIG_IOL - #define CONFIG_IOL_READ_EFUSE_MAP #define CONFIG_IOL_EFUSE_PATCH #endif diff --git a/os_dep/usb_intf.c b/os_dep/usb_intf.c index 841d6e4..aaa9681 100755 --- a/os_dep/usb_intf.c +++ b/os_dep/usb_intf.c @@ -748,7 +748,7 @@ static int rtw_suspend(struct usb_interface *pusb_intf, pm_message_t message) DBG_871X("==> %s (%s:%d)\n",__FUNCTION__, current->comm, current->pid); -#ifdef CONFIG_IOL_READ_EFUSE_MAP +#ifdef CONFIG_IOL if(!padapter->bup){ u8 bMacPwrCtrlOn = false; rtw_hal_get_hwreg(padapter, HW_VAR_APFM_ON_MAC, &bMacPwrCtrlOn);