Patchwork [net-next,v2,10/10] headers, can: Add missing #include to <linux/can/bcm.h>

login
register
mail settings
Submitter Ben Hutchings
Date Aug. 25, 2011, 4:46 a.m.
Message ID <1314247567.27179.127.camel@deadeye>
Download mbox | patch
Permalink /patch/111450/
State Accepted
Delegated to: David Miller
Headers show

Comments

Ben Hutchings - Aug. 25, 2011, 4:46 a.m.
<linux/can/bcm.h> uses type canid_t, defined in <linux/can.h>.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
---
 include/linux/can/bcm.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/include/linux/can/bcm.h b/include/linux/can/bcm.h
index 1432b27..e96154d 100644
--- a/include/linux/can/bcm.h
+++ b/include/linux/can/bcm.h
@@ -15,6 +15,7 @@ 
 #define CAN_BCM_H
 
 #include <linux/types.h>
+#include <linux/can.h>
 
 /**
  * struct bcm_msg_head - head of messages to/from the broadcast manager