summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2014-07-21 19:07:22 -0700
committerBrian Norris <computersforpeace@gmail.com>2014-08-19 11:53:08 -0700
commit31f754628cbb12c983600f22d9f0fed50dfe2134 (patch)
tree19bd679ef67164098b937b9a0ef5b66c4310598b /drivers/mtd/nand
parent1001ff7a4f64f3f4264e69d3ed70ff428f627e01 (diff)
downloadlinux-31f754628cbb12c983600f22d9f0fed50dfe2134.tar.gz
linux-31f754628cbb12c983600f22d9f0fed50dfe2134.tar.bz2
linux-31f754628cbb12c983600f22d9f0fed50dfe2134.zip
mtd: use __packed shorthand
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand')
-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 */