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

greybus: gpio: fix set-debounce request alignment

Fix alignment of the usec-field in the set-debounce 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 44538397
......@@ -116,7 +116,7 @@ struct gb_gpio_set_value_request {
struct gb_gpio_set_debounce_request {
__u8 which;
__le16 usec;
__le16 usec __packed;
};
/* debounce response has no payload */
......
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