diff options
Diffstat (limited to 'include/uapi/linux/can/bcm.h')
-rw-r--r-- | include/uapi/linux/can/bcm.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/uapi/linux/can/bcm.h b/include/uapi/linux/can/bcm.h index 89ddb9dc9bdf..7a291dc1ff15 100644 --- a/include/uapi/linux/can/bcm.h +++ b/include/uapi/linux/can/bcm.h | |||
@@ -47,6 +47,11 @@ | |||
47 | #include <linux/types.h> | 47 | #include <linux/types.h> |
48 | #include <linux/can.h> | 48 | #include <linux/can.h> |
49 | 49 | ||
50 | struct bcm_timeval { | ||
51 | long tv_sec; | ||
52 | long tv_usec; | ||
53 | }; | ||
54 | |||
50 | /** | 55 | /** |
51 | * struct bcm_msg_head - head of messages to/from the broadcast manager | 56 | * struct bcm_msg_head - head of messages to/from the broadcast manager |
52 | * @opcode: opcode, see enum below. | 57 | * @opcode: opcode, see enum below. |
@@ -62,7 +67,7 @@ struct bcm_msg_head { | |||
62 | __u32 opcode; | 67 | __u32 opcode; |
63 | __u32 flags; | 68 | __u32 flags; |
64 | __u32 count; | 69 | __u32 count; |
65 | struct timeval ival1, ival2; | 70 | struct bcm_timeval ival1, ival2; |
66 | canid_t can_id; | 71 | canid_t can_id; |
67 | __u32 nframes; | 72 | __u32 nframes; |
68 | struct can_frame frames[0]; | 73 | struct can_frame frames[0]; |