greybus: greybus_protocols: Pack structure as required by the module firmware
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 31 Aug 2015 11:51:03 +0000 (17:21 +0530)
committerJohan Hovold <johan@hovoldconsulting.com>
Thu, 3 Sep 2015 12:24:30 +0000 (14:24 +0200)
commit829a91e7155e4cb5c90e99ebd6048c7618b29e9b
tree4d4f9571c1affdbc71f7311277c0be1149caf1cf
parentd6ec787299c242775ef1e49c6f558121effa248c
greybus: greybus_protocols: Pack structure as required by the module firmware

These structures are expected to be packed by the module firmware code,
but the kernel wasn't following it until now.

Its all working currently because compiler doesn't add any pad bytes for
these structures, as their elements are already aligned to their size.

But these structures can change in future and we better mark them
packed.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
drivers/staging/greybus/greybus_protocols.h