X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fif_tr.h;h=5bcec8b2c5e2b557d1cdbbec372177c4bc3c24ed;hb=de0ca06a99c33df8333955642843331ab6b6e7ff;hp=2f94cf2c7abbed7969f2a29e91485cc56a046345;hpb=45c091bb2d453ce4a8b06cf19872ec7a77fc4799;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/if_tr.h b/include/linux/if_tr.h index 2f94cf2c7ab..5bcec8b2c5e 100644 --- a/include/linux/if_tr.h +++ b/include/linux/if_tr.h @@ -47,11 +47,8 @@ struct trh_hdr { 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 */