It has always been enabled unconditionally by ccflags-y.

Signed-off-by: Stefan Lippers-Hollmann <[email protected]>
---
 drivers/staging/rtl8192e/Makefile   |    2 --
 drivers/staging/rtl8192e/rtl_core.c |    2 --
 drivers/staging/rtl8192e/rtl_pm.c   |    2 --
 drivers/staging/rtl8192e/rtl_pm.h   |    4 ----
 4 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/drivers/staging/rtl8192e/Makefile 
b/drivers/staging/rtl8192e/Makefile
index 299131c..04714c4 100644
--- a/drivers/staging/rtl8192e/Makefile
+++ b/drivers/staging/rtl8192e/Makefile
@@ -1,5 +1,3 @@
-ccflags-y += -DCONFIG_PM_RTL
-
 r8192e_pci-objs :=             \
        rtl_core.o              \
        rtl_eeprom.o            \
diff --git a/drivers/staging/rtl8192e/rtl_core.c 
b/drivers/staging/rtl8192e/rtl_core.c
index 4868091..b7c6d6b 100644
--- a/drivers/staging/rtl8192e/rtl_core.c
+++ b/drivers/staging/rtl8192e/rtl_core.c
@@ -53,9 +53,7 @@
 #include "rtl_wx.h"
 #include "rtl_dm.h"
 
-#ifdef CONFIG_PM_RTL
 #include "rtl_pm.h"
-#endif
 
 int hwwep = 1;
 static int channels = 0x3fff;
diff --git a/drivers/staging/rtl8192e/rtl_pm.c 
b/drivers/staging/rtl8192e/rtl_pm.c
index 92e2fde..8e1a5d5 100644
--- a/drivers/staging/rtl8192e/rtl_pm.c
+++ b/drivers/staging/rtl8192e/rtl_pm.c
@@ -17,7 +17,6 @@
  * wlanfae <[email protected]>
 ******************************************************************************/
 
-#ifdef CONFIG_PM_RTL
 #include "rtl_core.h"
 #include "r8192E_hw.h"
 #include "r8190P_rtl8256.h"
@@ -133,4 +132,3 @@ int rtl8192E_enable_wake(struct pci_dev *dev, pm_message_t 
state, int enable)
        return -EAGAIN;
 }
 
-#endif
diff --git a/drivers/staging/rtl8192e/rtl_pm.h 
b/drivers/staging/rtl8192e/rtl_pm.h
index 4d7f406..e5299fc 100644
--- a/drivers/staging/rtl8192e/rtl_pm.h
+++ b/drivers/staging/rtl8192e/rtl_pm.h
@@ -17,8 +17,6 @@
  * wlanfae <[email protected]>
 ******************************************************************************/
 
-#ifdef CONFIG_PM_RTL
-
 #ifndef R8192E_PM_H
 #define R8192E_PM_H
 
@@ -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);
 
 #endif
-
-#endif
-- 
1.7.7.2

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to