net headers: cleanup dcbnl.h
authorChris Leech <christopher.leech@intel.com>
Fri, 27 Feb 2009 10:01:36 +0000 (10:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Mar 2009 08:19:35 +0000 (00:19 -0800)
1) add an include for <linux/types.h>
2) change dcbmsg.dcb_family from unsigned char to __u8 to be more
   consistent with use of kernel types

Signed-off-by: Chris Leech <christopher.leech@intel.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/dcbnl.h

index b0ef274..7d2e100 100644 (file)
 #ifndef __LINUX_DCBNL_H__
 #define __LINUX_DCBNL_H__
 
+#include <linux/types.h>
+
 #define DCB_PROTO_VERSION 1
 
 struct dcbmsg {
-       unsigned char      dcb_family;
+       __u8               dcb_family;
        __u8               cmd;
        __u16              dcb_pad;
 };