]> err.no Git - linux-2.6/blobdiff - drivers/ieee1394/eth1394.h
ieee1394: SPIN_LOCK_UNLOCKED cleanup
[linux-2.6] / drivers / ieee1394 / eth1394.h
index c45cbff9138d168852c0c76344de2648466bd1fc..2a88ee466354107bf1c1160a9176f822b8945220 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/netdevice.h>
 
 #include "ieee1394.h"
+#include "ieee1394_types.h"
 
 /* Register for incoming packets. This is 4096 bytes, which supports up to
  * S3200 (per Table 16-3 of IEEE 1394b-2002). */
@@ -90,7 +91,7 @@ struct eth1394hdr {
 
 static inline struct eth1394hdr *eth1394_hdr(const struct sk_buff *skb)
 {
-       return (struct eth1394hdr *)skb->mac.raw;
+       return (struct eth1394hdr *)skb_mac_header(skb);
 }
 #endif