From: Christophe Ricard Date: Mon, 31 Mar 2014 22:34:04 +0000 (+0200) Subject: NFC: st21nfca: Add __packed to struct st21nfca_pipe_info X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=761a2c4f90d6ea5a821050edccff13adc4a34fae;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git NFC: st21nfca: Add __packed to struct st21nfca_pipe_info Signed-off-by: Christophe Ricard Signed-off-by: Samuel Ortiz --- diff --git a/drivers/nfc/st21nfca/st21nfca.c b/drivers/nfc/st21nfca/st21nfca.c index d9fe09ea26a5..d001e6afdb8c 100644 --- a/drivers/nfc/st21nfca/st21nfca.c +++ b/drivers/nfc/st21nfca/st21nfca.c @@ -89,7 +89,7 @@ struct st21nfca_pipe_info { u8 src_gate_id; u8 dst_host_id; u8 dst_gate_id; -}; +} __packed; /* Largest headroom needed for outgoing custom commands */ #define ST21NFCA_CMDS_HEADROOM 7