summaryrefslogtreecommitdiff
path: root/staging/lookupdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'staging/lookupdev.c')
0 files changed, 0 insertions, 0 deletions
patch/drivers?id=1455db9e1ba3f602084854fa9c222e9b68e8576c'>patch) treebe2b99a04f6e5fd5375b008270bac852d485d590 /drivers parent6a1d29595ed7af5aebbcdb8f4cc045ae7893dc6c (diff)
greybus: greybus_protocols.h: convert __u32 to __le32
All 32 bit declarations associated with data interchange to the greybus network need to be declared explicitly as little-endian since that is the byte order we use on the greybus network. struct gb_audio_topology is declaring its variables as u32. Fortunately this structure isn't currently used so we can do a conversion from u32 to __le32 without any ancillary code-churn. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/greybus/greybus_protocols.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h