diff options
author | Greg Kroah-Hartman <gregkh@google.com> | 2016-03-04 18:40:02 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-03-05 08:38:03 -0800 |
commit | 9fa3a9b8cb7e04b600166049424d01b428a251ad (patch) | |
tree | baa855d5a6eeb2154a14da3dca3e74c982f2d508 /drivers/staging/greybus/greybus_protocols.h | |
parent | 53f965065a5eb067621e4734fee9719942976a86 (diff) |
greybus: properly annotate struct gb_control_timesync_enable_request
A patch from created struct gb_control_timesync_enable_request,
but forgot to properly annotate that the fields are little-endian. The
code is correct in treating them this way, so there isn't a bug, but
sparse complains.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/greybus_protocols.h')
-rw-r--r-- | drivers/staging/greybus/greybus_protocols.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h index 27acbdd39571..524c64987b42 100644 --- a/drivers/staging/greybus/greybus_protocols.h +++ b/drivers/staging/greybus/greybus_protocols.h @@ -177,9 +177,9 @@ struct gb_control_interface_version_response { struct gb_control_timesync_enable_request { __u8 count; - __u64 frame_time; - __u32 strobe_delay; - __u32 refclk; + __le64 frame_time; + __le32 strobe_delay; + __le32 refclk; } __packed; /* timesync enable response has no payload */ |