Commit 61fcc016 authored by Stefan Lippers-Hollmann's avatar Stefan Lippers-Hollmann Committed by Greg Kroah-Hartman

rtl8192e: drop alternate code paths for CONFIG_PM_RTL

It has always been enabled unconditionally by ccflags-y.
Signed-off-by: default avatarStefan Lippers-Hollmann <s.l-h@gmx.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 71769d73
ccflags-y += -DCONFIG_PM_RTL
r8192e_pci-objs := \ r8192e_pci-objs := \
rtl_core.o \ rtl_core.o \
rtl_eeprom.o \ rtl_eeprom.o \
......
...@@ -53,9 +53,7 @@ ...@@ -53,9 +53,7 @@
#include "rtl_wx.h" #include "rtl_wx.h"
#include "rtl_dm.h" #include "rtl_dm.h"
#ifdef CONFIG_PM_RTL
#include "rtl_pm.h" #include "rtl_pm.h"
#endif
int hwwep = 1; int hwwep = 1;
static int channels = 0x3fff; static int channels = 0x3fff;
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
* wlanfae <wlanfae@realtek.com> * wlanfae <wlanfae@realtek.com>
******************************************************************************/ ******************************************************************************/
#ifdef CONFIG_PM_RTL
#include "rtl_core.h" #include "rtl_core.h"
#include "r8192E_hw.h" #include "r8192E_hw.h"
#include "r8190P_rtl8256.h" #include "r8190P_rtl8256.h"
...@@ -133,4 +132,3 @@ int rtl8192E_enable_wake(struct pci_dev *dev, pm_message_t state, int enable) ...@@ -133,4 +132,3 @@ int rtl8192E_enable_wake(struct pci_dev *dev, pm_message_t state, int enable)
return -EAGAIN; return -EAGAIN;
} }
#endif
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
* wlanfae <wlanfae@realtek.com> * wlanfae <wlanfae@realtek.com>
******************************************************************************/ ******************************************************************************/
#ifdef CONFIG_PM_RTL
#ifndef R8192E_PM_H #ifndef R8192E_PM_H
#define R8192E_PM_H #define R8192E_PM_H
...@@ -31,5 +29,3 @@ int rtl8192E_resume(struct pci_dev *dev); ...@@ -31,5 +29,3 @@ int rtl8192E_resume(struct pci_dev *dev);
int rtl8192E_enable_wake(struct pci_dev *dev, pm_message_t state, int enable); int rtl8192E_enable_wake(struct pci_dev *dev, pm_message_t state, int enable);
#endif #endif
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment