forked from luck/tmp_suning_uos_patched
[IWLWIFI]: remove per-file CFLAGS for IWL define
Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8236632fb3
commit
1156b2c689
@ -1,11 +1,5 @@
|
||||
obj-$(CONFIG_IWL3945) += iwl3945.o
|
||||
iwl3945-objs = iwl3945-base.o iwl-3945.o iwl-3945-rs.o
|
||||
CFLAGS_iwl3945-base.o = -DIWL=3945
|
||||
CFLAGS_iwl-3945.o = -DIWL=3945
|
||||
CFLAGS_iwl-3945-rs.o = -DIWL=3945
|
||||
|
||||
obj-$(CONFIG_IWL4965) += iwl4965.o
|
||||
iwl4965-objs = iwl4965-base.o iwl-4965.o iwl-4965-rs.o
|
||||
CFLAGS_iwl4965-base.o = -DIWL=4965
|
||||
CFLAGS_iwl-4965.o = -DIWL=4965
|
||||
CFLAGS_iwl-4965-rs.o = -DIWL=4965
|
||||
|
@ -40,6 +40,8 @@
|
||||
#include <net/mac80211.h>
|
||||
#include <linux/wireless.h>
|
||||
|
||||
#define IWL 3945
|
||||
|
||||
#include "../net/mac80211/ieee80211_rate.h"
|
||||
|
||||
#include "iwlwifi.h"
|
||||
|
@ -40,6 +40,8 @@
|
||||
#include <linux/etherdevice.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#define IWL 3945
|
||||
|
||||
#include "iwlwifi.h"
|
||||
#include "iwl-helpers.h"
|
||||
#include "iwl-3945.h"
|
||||
|
@ -39,6 +39,8 @@
|
||||
#include <net/mac80211.h>
|
||||
#include <linux/wireless.h>
|
||||
|
||||
#define IWL 4965
|
||||
|
||||
#include "../net/mac80211/ieee80211_rate.h"
|
||||
|
||||
#include "iwlwifi.h"
|
||||
|
@ -39,6 +39,8 @@
|
||||
#include <linux/etherdevice.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#define IWL 4965
|
||||
|
||||
#include "iwlwifi.h"
|
||||
#include "iwl-4965.h"
|
||||
#include "iwl-helpers.h"
|
||||
|
@ -58,6 +58,8 @@
|
||||
|
||||
#include <asm/div64.h>
|
||||
|
||||
#define IWL 3945
|
||||
|
||||
#include "iwlwifi.h"
|
||||
#include "iwl-3945.h"
|
||||
#include "iwl-helpers.h"
|
||||
|
@ -58,6 +58,8 @@
|
||||
|
||||
#include <asm/div64.h>
|
||||
|
||||
#define IWL 4965
|
||||
|
||||
#include "iwlwifi.h"
|
||||
#include "iwl-4965.h"
|
||||
#include "iwl-helpers.h"
|
||||
|
Loading…
Reference in New Issue
Block a user