aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2007-09-25 22:34:09 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:52:16 -0400
commit1156b2c689bf509cdc254394598d410787a02aec (patch)
tree2380d36002c1bcf6ced6401947614e1603d54a6d /drivers/net/wireless/iwlwifi
parent8236632fb3532188c75656421e29f5ab51b47db7 (diff)
[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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r--drivers/net/wireless/iwlwifi/Makefile6
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945-rs.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965-rs.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c2
7 files changed, 12 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/Makefile b/drivers/net/wireless/iwlwifi/Makefile
index 03837ff54312..3bbd38358d53 100644
--- a/drivers/net/wireless/iwlwifi/Makefile
+++ b/drivers/net/wireless/iwlwifi/Makefile
@@ -1,11 +1,5 @@
1obj-$(CONFIG_IWL3945) += iwl3945.o 1obj-$(CONFIG_IWL3945) += iwl3945.o
2iwl3945-objs = iwl3945-base.o iwl-3945.o iwl-3945-rs.o 2iwl3945-objs = iwl3945-base.o iwl-3945.o iwl-3945-rs.o
3CFLAGS_iwl3945-base.o = -DIWL=3945
4CFLAGS_iwl-3945.o = -DIWL=3945
5CFLAGS_iwl-3945-rs.o = -DIWL=3945
6 3
7obj-$(CONFIG_IWL4965) += iwl4965.o 4obj-$(CONFIG_IWL4965) += iwl4965.o
8iwl4965-objs = iwl4965-base.o iwl-4965.o iwl-4965-rs.o 5iwl4965-objs = iwl4965-base.o iwl-4965.o iwl-4965-rs.o
9CFLAGS_iwl4965-base.o = -DIWL=4965
10CFLAGS_iwl-4965.o = -DIWL=4965
11CFLAGS_iwl-4965-rs.o = -DIWL=4965
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c
index b0d28ae0b324..f4aabcf480e4 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c
+++ b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c
@@ -40,6 +40,8 @@
40#include <net/mac80211.h> 40#include <net/mac80211.h>
41#include <linux/wireless.h> 41#include <linux/wireless.h>
42 42
43#define IWL 3945
44
43#include "../net/mac80211/ieee80211_rate.h" 45#include "../net/mac80211/ieee80211_rate.h"
44 46
45#include "iwlwifi.h" 47#include "iwlwifi.h"
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c
index 55f7d89aad8d..acb38750535f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945.c
+++ b/drivers/net/wireless/iwlwifi/iwl-3945.c
@@ -40,6 +40,8 @@
40#include <linux/etherdevice.h> 40#include <linux/etherdevice.h>
41#include <linux/delay.h> 41#include <linux/delay.h>
42 42
43#define IWL 3945
44
43#include "iwlwifi.h" 45#include "iwlwifi.h"
44#include "iwl-helpers.h" 46#include "iwl-helpers.h"
45#include "iwl-3945.h" 47#include "iwl-3945.h"
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
index 7b74481f5282..bc5e67b0b0e2 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
@@ -39,6 +39,8 @@
39#include <net/mac80211.h> 39#include <net/mac80211.h>
40#include <linux/wireless.h> 40#include <linux/wireless.h>
41 41
42#define IWL 4965
43
42#include "../net/mac80211/ieee80211_rate.h" 44#include "../net/mac80211/ieee80211_rate.h"
43 45
44#include "iwlwifi.h" 46#include "iwlwifi.h"
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index e624f2a41e0e..b704fe7fca27 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -39,6 +39,8 @@
39#include <linux/etherdevice.h> 39#include <linux/etherdevice.h>
40#include <linux/delay.h> 40#include <linux/delay.h>
41 41
42#define IWL 4965
43
42#include "iwlwifi.h" 44#include "iwlwifi.h"
43#include "iwl-4965.h" 45#include "iwl-4965.h"
44#include "iwl-helpers.h" 46#include "iwl-helpers.h"
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index cc405f4a8647..44f983b6d39b 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -58,6 +58,8 @@
58 58
59#include <asm/div64.h> 59#include <asm/div64.h>
60 60
61#define IWL 3945
62
61#include "iwlwifi.h" 63#include "iwlwifi.h"
62#include "iwl-3945.h" 64#include "iwl-3945.h"
63#include "iwl-helpers.h" 65#include "iwl-helpers.h"
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index 6cea3118b7c1..61500a209297 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -58,6 +58,8 @@
58 58
59#include <asm/div64.h> 59#include <asm/div64.h>
60 60
61#define IWL 4965
62
61#include "iwlwifi.h" 63#include "iwlwifi.h"
62#include "iwl-4965.h" 64#include "iwl-4965.h"
63#include "iwl-helpers.h" 65#include "iwl-helpers.h"