summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/uart.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-03-17 18:24:30 +0100
committerGreg Kroah-Hartman <greg@kroah.com>2015-03-17 22:34:44 +0100
commitafcf8c715e7cb615dad484913b70c714594ce159 (patch)
tree7abbeb50e574042ddfa347003ec9fb306406e505 /drivers/staging/greybus/uart.c
parentb41caa99a25f62326be451592c493de29347d142 (diff)
downloadop-kernel-dev-afcf8c715e7cb615dad484913b70c714594ce159.zip
op-kernel-dev-afcf8c715e7cb615dad484913b70c714594ce159.tar.gz
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>
Diffstat (limited to 'drivers/staging/greybus/uart.c')
-rw-r--r--drivers/staging/greybus/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/uart.c b/drivers/staging/greybus/uart.c
index 575ca56..51e4f7b 100644
--- a/drivers/staging/greybus/uart.c
+++ b/drivers/staging/greybus/uart.c
@@ -68,7 +68,7 @@ struct gb_serial_line_coding {
#define GB_SERIAL_SPACE_PARITY 4
__u8 data;
-} __attribute__ ((packed));
+};
struct gb_uart_set_line_coding_request {
struct gb_serial_line_coding line_coding;
OpenPOWER on IntegriCloud