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

greybus: uart: remove packed-attribute from line-coding struct

Remove packed-attribute from line-coding struct, whose members are all
naturally aligned.
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent b41caa99
...@@ -68,7 +68,7 @@ struct gb_serial_line_coding { ...@@ -68,7 +68,7 @@ struct gb_serial_line_coding {
#define GB_SERIAL_SPACE_PARITY 4 #define GB_SERIAL_SPACE_PARITY 4
__u8 data; __u8 data;
} __attribute__ ((packed)); };
struct gb_uart_set_line_coding_request { struct gb_uart_set_line_coding_request {
struct gb_serial_line_coding line_coding; struct gb_serial_line_coding line_coding;
......
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