提交 1156b2c6 编写于 作者: Z Zhu Yi 提交者: David S. Miller

[IWLWIFI]: remove per-file CFLAGS for IWL define

Signed-off-by: NZhu Yi <yi.zhu@intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 8236632f
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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册