[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:
Zhu Yi 2007-09-25 19:34:09 -07:00 committed by David S. Miller
parent 8236632fb3
commit 1156b2c689
7 changed files with 12 additions and 6 deletions

View File

@ -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

View File

@ -40,6 +40,8 @@
#include <net/mac80211.h>
#include <linux/wireless.h>
#define IWL 3945
#include "../net/mac80211/ieee80211_rate.h"
#include "iwlwifi.h"

View File

@ -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"

View File

@ -39,6 +39,8 @@
#include <net/mac80211.h>
#include <linux/wireless.h>
#define IWL 4965
#include "../net/mac80211/ieee80211_rate.h"
#include "iwlwifi.h"

View File

@ -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"

View File

@ -58,6 +58,8 @@
#include <asm/div64.h>
#define IWL 3945
#include "iwlwifi.h"
#include "iwl-3945.h"
#include "iwl-helpers.h"

View File

@ -58,6 +58,8 @@
#include <asm/div64.h>
#define IWL 4965
#include "iwlwifi.h"
#include "iwl-4965.h"
#include "iwl-helpers.h"