summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/sm_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/sm_common.h')
-rw-r--r--drivers/mtd/nand/sm_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/sm_common.h b/drivers/mtd/nand/sm_common.h
index 00f4a83359b2..d3e028e58b0f 100644
--- a/drivers/mtd/nand/sm_common.h
+++ b/drivers/mtd/nand/sm_common.h
@@ -18,7 +18,7 @@ struct sm_oob {
uint8_t ecc2[3];
uint8_t lba_copy2[2];
uint8_t ecc1[3];
-} __attribute__((packed));
+} __packed;
/* one sector is always 512 bytes, but it can consist of two nand pages */