2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00

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: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
Johan Hovold 2015-03-17 18:24:30 +01:00 committed by Greg Kroah-Hartman
parent b41caa99a2
commit afcf8c715e

View File

@ -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;