aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Leech <christopher.leech@intel.com>2009-02-27 10:01:36 +0000
committerDavid S. Miller <davem@davemloft.net>2009-03-01 00:19:35 -0800
commit5c2522218059ca1f4174a568923b988aad3ddfda (patch)
tree37f76dee62bbfb94b42a8f38b372942ef5c803c4 /include
parentnetpoll: Add drop checks to all entry points (diff)
downloadlinux-dev-5c2522218059ca1f4174a568923b988aad3ddfda.tar.xz
linux-dev-5c2522218059ca1f4174a568923b988aad3ddfda.zip
net headers: cleanup dcbnl.h
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/dcbnl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/dcbnl.h b/include/linux/dcbnl.h
index b0ef274e0031..7d2e10006188 100644
--- a/include/linux/dcbnl.h
+++ b/include/linux/dcbnl.h
@@ -20,10 +20,12 @@
#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;
};