diff options
Diffstat (limited to 'drivers/firewire/fw-device-cdev.h')
-rw-r--r-- | drivers/firewire/fw-device-cdev.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/firewire/fw-device-cdev.h b/drivers/firewire/fw-device-cdev.h index 62f5f66ca101..a6340bf306fb 100644 --- a/drivers/firewire/fw-device-cdev.h +++ b/drivers/firewire/fw-device-cdev.h | |||
@@ -103,7 +103,7 @@ struct fw_cdev_event_request { | |||
103 | __u32 type; | 103 | __u32 type; |
104 | __u32 tcode; | 104 | __u32 tcode; |
105 | __u64 offset; | 105 | __u64 offset; |
106 | __u32 serial; | 106 | __u32 handle; |
107 | __u32 length; | 107 | __u32 length; |
108 | __u32 data[0]; | 108 | __u32 data[0]; |
109 | }; | 109 | }; |
@@ -186,17 +186,18 @@ struct fw_cdev_send_response { | |||
186 | __u32 rcode; | 186 | __u32 rcode; |
187 | __u32 length; | 187 | __u32 length; |
188 | __u64 data; | 188 | __u64 data; |
189 | __u32 serial; | 189 | __u32 handle; |
190 | }; | 190 | }; |
191 | 191 | ||
192 | struct fw_cdev_allocate { | 192 | struct fw_cdev_allocate { |
193 | __u64 offset; | 193 | __u64 offset; |
194 | __u64 closure; | 194 | __u64 closure; |
195 | __u32 length; | 195 | __u32 length; |
196 | __u32 handle; | ||
196 | }; | 197 | }; |
197 | 198 | ||
198 | struct fw_cdev_deallocate { | 199 | struct fw_cdev_deallocate { |
199 | __u64 offset; | 200 | __u32 handle; |
200 | }; | 201 | }; |
201 | 202 | ||
202 | #define FW_CDEV_LONG_RESET 0 | 203 | #define FW_CDEV_LONG_RESET 0 |