diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2016-04-12 17:15:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-04-12 22:33:39 -0700 |
commit | 777471a445242e34c790b5b80d031a013933fd05 (patch) | |
tree | 2555cb6d5623dfc37a175ed3296e29f0c1845efd /drivers/staging/greybus/greybus_protocols.h | |
parent | a7ddda1f5aa47779071dd4c6f3a5e65c0086e49f (diff) |
greybus: Fixup __u64, __u32 to __le64, __le32 in timesync declarations
A number of data in TimeSync command structures are declared __u64/__u32
instead of __le64/__le32, I forgot to put this through an x86_64 compile
before presentation for merge and as a result didn't catch this error. This
patch fixes.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@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 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h index e3ef3c96456d..e0c0493605ca 100644 --- a/drivers/staging/greybus/greybus_protocols.h +++ b/drivers/staging/greybus/greybus_protocols.h @@ -180,7 +180,7 @@ struct gb_control_timesync_enable_request { /* timesync enable response has no payload */ struct gb_control_timesync_authoritative_request { - __u64 frame_time[GB_TIMESYNC_MAX_STROBES]; + __le64 frame_time[GB_TIMESYNC_MAX_STROBES]; } __packed; /* timesync authoritative response has no payload */ @@ -911,16 +911,16 @@ struct gb_svc_route_destroy_request { struct gb_svc_timesync_enable_request { __u8 count; - __u64 frame_time; - __u32 strobe_delay; - __u32 strobe_mask; - __u32 refclk; + __le64 frame_time; + __le32 strobe_delay; + __le32 strobe_mask; + __le32 refclk; } __packed; /* timesync enable response has no payload */ /* timesync authoritative request has no payload */ struct gb_svc_timesync_authoritative_response { - __u64 frame_time[GB_TIMESYNC_MAX_STROBES]; + __le64 frame_time[GB_TIMESYNC_MAX_STROBES]; }; #define GB_SVC_UNIPRO_FAST_MODE 0x01 |