]> err.no Git - linux-2.6/blobdiff - include/linux/netdevice.h
[PATCH] make 1-bit bitfields unsigned
[linux-2.6] / include / linux / netdevice.h
index caa3c2593719215ca4dc5a431b7adaeb0be62b98..c57088f575a37d9961bab86e25bcbcc8658f424f 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/if_packet.h>
 
 #ifdef __KERNEL__
+#include <linux/timer.h>
 #include <asm/atomic.h>
 #include <asm/cache.h>
 #include <asm/byteorder.h>
@@ -196,7 +197,7 @@ struct hh_cache
                                          *  NOTE:  For VLANs, this will be the
                                          *  encapuslated type. --BLG
                                          */
-       int             hh_len;         /* length of header */
+       u16             hh_len;         /* length of header */
        int             (*hh_output)(struct sk_buff *skb);
        rwlock_t        hh_lock;