netdev
[Top] [All Lists]

[PATCH] LLC -- get rid of warning

To: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx>
Subject: [PATCH] LLC -- get rid of warning
From: Stephen Hemminger <shemminger@xxxxxxxx>
Date: Tue, 23 Sep 2003 13:54:26 -0700
Cc: Mike Phillips <mikep@xxxxxxxxxxx>, netdev@xxxxxxxxxxx
Organization: Open Source Development Lab
Sender: netdev-bounce@xxxxxxxxxxx
In 2.6.0-test5 bk latest, if token ring is configured, then a warning is
generated about a missing prototype for tr_source_route.

diff -Nru a/net/llc/llc_output.c b/net/llc/llc_output.c
--- a/net/llc/llc_output.c      Tue Sep 23 12:56:04 2003
+++ b/net/llc/llc_output.c      Tue Sep 23 12:56:04 2003
@@ -16,6 +16,7 @@
 #include <linux/if_arp.h>
 #include <linux/if_tr.h>
 #include <linux/netdevice.h>
+#include <linux/trdevice.h>
 #include <linux/skbuff.h>
 #include <net/llc.h>
 #include <net/llc_pdu.h>

<Prev in Thread] Current Thread [Next in Thread>