X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fif_tr.h;h=5bcec8b2c5e2b557d1cdbbec372177c4bc3c24ed;hb=90a1ba0c5e39eeea278f263c28ae02166c5911c8;hp=5502f597cf0e8808b582c6bb8d7cc52412bd2d11;hpb=15c42e5a1f0bccb69508059b8ae0720840068b8e;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/if_tr.h b/include/linux/if_tr.h index 5502f597cf0..5bcec8b2c5e 100644 --- a/include/linux/if_tr.h +++ b/include/linux/if_tr.h @@ -43,16 +43,12 @@ struct trh_hdr { }; #ifdef __KERNEL__ -#include #include static inline struct trh_hdr *tr_hdr(const struct sk_buff *skb) { - return (struct trh_hdr *)skb->mac.raw; + return (struct trh_hdr *)skb_mac_header(skb); } -#ifdef CONFIG_SYSCTL -extern struct ctl_table tr_table[]; -#endif #endif /* This is an Token-Ring LLC structure */