NFC: st21nfca: Add __packed to struct st21nfca_pipe_info
authorChristophe Ricard <christophe.ricard@gmail.com>
Mon, 31 Mar 2014 22:34:04 +0000 (00:34 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 21 Apr 2014 22:37:29 +0000 (00:37 +0200)
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfca/st21nfca.c

index d9fe09ea26a519ecf370bdc78ad461ab04216fd4..d001e6afdb8c792241dde771fc4985a3a67e792d 100644 (file)
@@ -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