* [PATCH] mac80211: include <linux/delay.h> instead of <asm/delay.h>
@ 2007-05-06 20:37 Geert Uytterhoeven
2007-05-06 20:48 ` John W. Linville
0 siblings, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2007-05-06 20:37 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton, Jiri Benc, John W. Linville
Cc: netdev, Linux Kernel Development
| 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 <geert@linux-m68k.org>
---
net/mac80211/ieee80211_sta.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-m68k-2.6.21.orig/net/mac80211/ieee80211_sta.c
+++ linux-m68k-2.6.21/net/mac80211/ieee80211_sta.c
@@ -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"
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mac80211: include <linux/delay.h> instead of <asm/delay.h>
2007-05-06 20:37 Geert Uytterhoeven
@ 2007-05-06 20:48 ` John W. Linville
0 siblings, 0 replies; 4+ messages in thread
From: John W. Linville @ 2007-05-06 20:48 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Linus Torvalds, Andrew Morton, Jiri Benc, netdev,
Linux Kernel Development
On Sun, May 06, 2007 at 10:37:17PM +0200, Geert Uytterhoeven wrote:
> | 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>
Got it, thanks!
Please send/copy to linux-wireless@vger.kernel.org in the future.
John
--
John W. Linville
linville@tuxdriver.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] mac80211: include <linux/delay.h> instead of <asm/delay.h>
@ 2007-05-08 15:50 John W. Linville
2007-05-09 1:40 ` David Miller
0 siblings, 1 reply; 4+ messages in thread
From: John W. Linville @ 2007-05-08 15:50 UTC (permalink / raw)
To: davem-fT/PcQaiUtIeIZ0/mPfg9Q
Cc: netdev-u79uwXL29TY76Z2rM5mHXA,
linux-wireless-u79uwXL29TY76Z2rM5mHXA
From: Geert Uytterhoeven <geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
| 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 <geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
Signed-off-by: John W. Linville <linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
---
net/mac80211/ieee80211_sta.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
index 822917d..3e07e9d 100644
--- a/net/mac80211/ieee80211_sta.c
+++ b/net/mac80211/ieee80211_sta.c
@@ -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"
--
1.5.0.6
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] mac80211: include <linux/delay.h> instead of <asm/delay.h>
2007-05-08 15:50 [PATCH] mac80211: include <linux/delay.h> instead of <asm/delay.h> John W. Linville
@ 2007-05-09 1:40 ` David Miller
0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2007-05-09 1:40 UTC (permalink / raw)
To: linville; +Cc: netdev, linux-wireless
From: "John W. Linville" <linville@tuxdriver.com>
Date: Tue, 8 May 2007 11:50:11 -0400
> From: Geert Uytterhoeven <geert@linux-m68k.org>
>
> | 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 <geert@linux-m68k.org>
> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Applied, thanks everyone.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-05-09 1:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-08 15:50 [PATCH] mac80211: include <linux/delay.h> instead of <asm/delay.h> John W. Linville
2007-05-09 1:40 ` David Miller
-- strict thread matches above, loose matches on Subject: below --
2007-05-06 20:37 Geert Uytterhoeven
2007-05-06 20:48 ` John W. Linville
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).