diff --git a/drivers/staging/rtl8192e/Makefile b/drivers/staging/rtl8192e/Makefile index 41cb4d3d62629fe4ad411ea49e74ff887a946d18..6e410674359cc77ece47996f4433e59aa030eef4 100644 --- a/drivers/staging/rtl8192e/Makefile +++ b/drivers/staging/rtl8192e/Makefile @@ -1,13 +1,13 @@ NIC_SELECT = RTL8192E -EXTRA_CFLAGS += -DRTL8192E -EXTRA_CFLAGS += -std=gnu89 -EXTRA_CFLAGS += -O2 -EXTRA_CFLAGS += -DTHOMAS_TURBO -EXTRA_CFLAGS += -DENABLE_DOT11D +ccflags-y := -DRTL8192E +ccflags-y += -std=gnu89 +ccflags-y += -O2 +ccflags-y += -DTHOMAS_TURBO +ccflags-y += -DENABLE_DOT11D -EXTRA_CFLAGS += -DENABLE_IPS -EXTRA_CFLAGS += -DENABLE_LPS +ccflags-y += -DENABLE_IPS +ccflags-y += -DENABLE_LPS r8192e_pci-objs := \ r8192E_core.o \