Commit b41caa99 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

greybus: pwm: fix config-request alignment

Fix alignment of the duty and period-fields in the config request,
which should follow the which-field without any inserted padding.
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent fcc4356d
......@@ -56,8 +56,8 @@ struct gb_pwm_deactivate_request {
struct gb_pwm_config_request {
__u8 which;
__le32 duty;
__le32 period;
__le32 duty __packed;
__le32 period __packed;
};
struct gb_pwm_polarity_request {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment