mac80211: include <linux/delay.h> instead of <asm/delay.h>
Subsystems (3)
PATCH 1/1 mac80211: include <linux/delay.h> instead of <asm/delay.h>
From: Geert Uytterhoeven <[email protected]>
| CC net/mac80211/ieee80211_sta.o | In file included from linux/net/mac80211/ieee80211_sta.c:31: | include2/asm/delay.h: In function '__const_udelay': | include2/asm/delay.h:33: error: 'loops_per_jiffy' undeclared (first use in this function) | include2/asm/delay.h:33: error: (Each undeclared identifier is reported only once | include2/asm/delay.h:33: error: for each function it appears in.)
mac80211: include <linux/delay.h> instead of <asm/delay.h>
Signed-off-by Geert Uytterhoeven <[email protected]>
Signed-off-by John W. Linville <[email protected]>
--- net/mac80211/ieee80211_sta.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
net/mac80211/ieee80211_sta.c +1 -1
@@ -17,6 +17,7 @@* scan result table filtering (by capability (privacy, IBSS/BSS, WPA/RSN IE, * SSID) */ +#include <linux/delay.h> #include <linux/if_ether.h> #include <linux/skbuff.h> #include <linux/netdevice.h>
@@ -27,7 +28,6 @@#include <linux/rtnetlink.h> #include <net/iw_handler.h> #include <asm/types.h> -#include <asm/delay.h> #include <net/mac80211.h> #include "ieee80211_i.h"
Signature · 1 line
1.5.0.6
From: "John W. Linville" <[email protected]>
Date: Tue, 8 May 2007 11:50:11 -0400
Quoted 9 lines
From: Geert Uytterhoeven <[email protected]>
| CC net/mac80211/ieee80211_sta.o | In file included from linux/net/mac80211/ieee80211_sta.c:31: | include2/asm/delay.h: In function '__const_udelay': | include2/asm/delay.h:33: error: 'loops_per_jiffy' undeclared (first use in this function) | include2/asm/delay.h:33: error: (Each undeclared identifier is reported only once | include2/asm/delay.h:33: error: for each function it appears in.)
Quoted 4 lines
mac80211: include <
linux/delay.h> instead of <asm/delay.h>Signed-off-by Geert Uytterhoeven <[email protected]>Signed-off-by John W. Linville <[email protected]>
Applied, thanks everyone.