mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 02:09:42 +00:00
![David Chosrova](/assets/img/avatar_default.png)
This patch removes all the ENABLE_DOT11D ifdefs. It is always defined for driver. DOT11D has to do with regulatory domains. What prompted this patch was a warning message in Sparse. drivers/staging/rtl8192u/r8192U_core.c:247:1: warning: "eqMacAddr" redefined in file included from drivers/staging/rtl8192u/:81:81: drivers/staging/rtl8192u/dot11d.h:35:1: warning: this is the location of the previous definition Now there are no ifdefs around dot11d.h it made no sense to have this second definition, so I removed that macro as well. ( Thanks Dan ;-) ). Acked-by. Dan Carpenter <error27@gmail.com> Signed-off-by: David Chosrova <dada2372@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
NIC_SELECT = RTL8192U
|
|
|
|
ccflags-y := -std=gnu89
|
|
ccflags-y += -O2
|
|
|
|
ccflags-y += -DCONFIG_FORCE_HARD_FLOAT=y
|
|
ccflags-y += -DJACKSON_NEW_8187 -DJACKSON_NEW_RX
|
|
ccflags-y += -DTHOMAS_BEACON -DTHOMAS_TASKLET -DTHOMAS_SKB -DTHOMAS_TURBO
|
|
#ccflags-y += -DUSB_TX_DRIVER_AGGREGATION_ENABLE
|
|
#ccflags-y += -DUSB_RX_AGGREGATION_SUPPORT
|
|
ccflags-y += -DUSE_ONE_PIPE
|
|
ccflags-y += -Idrivers/staging/rtl8192u/ieee80211
|
|
|
|
r8192u_usb-y := r8192U_core.o r8180_93cx6.o r8192U_wx.o \
|
|
r8190_rtl8256.o r819xU_phy.o r819xU_firmware.o \
|
|
r819xU_cmdpkt.o r8192U_dm.o r819xU_firmware_img.o \
|
|
ieee80211/ieee80211_crypt.o \
|
|
ieee80211/ieee80211_crypt_tkip.o \
|
|
ieee80211/ieee80211_crypt_ccmp.o \
|
|
ieee80211/ieee80211_crypt_wep.o \
|
|
ieee80211/ieee80211_rx.o \
|
|
ieee80211/ieee80211_softmac.o \
|
|
ieee80211/ieee80211_tx.o \
|
|
ieee80211/ieee80211_wx.o \
|
|
ieee80211/ieee80211_module.o \
|
|
ieee80211/ieee80211_softmac_wx.o \
|
|
ieee80211/rtl819x_HTProc.o \
|
|
ieee80211/rtl819x_TSProc.o \
|
|
ieee80211/rtl819x_BAProc.o \
|
|
ieee80211/dot11d.o
|
|
|
|
obj-$(CONFIG_RTL8192U) += r8192u_usb.o
|