commit | 31f754628cbb12c983600f22d9f0fed50dfe2134 | [log] [tgz] |
---|---|---|
author | Brian Norris <computersforpeace@gmail.com> | Mon Jul 21 19:07:22 2014 -0700 |
committer | Brian Norris <computersforpeace@gmail.com> | Tue Aug 19 11:53:08 2014 -0700 |
tree | 19bd679ef67164098b937b9a0ef5b66c4310598b | |
parent | 1001ff7a4f64f3f4264e69d3ed70ff428f627e01 [diff] [blame] |
mtd: use __packed shorthand Signed-off-by: Brian Norris <computersforpeace@gmail.com>
diff --git a/drivers/mtd/mtdswap.c b/drivers/mtd/mtdswap.c index 48cf6f9..fc8b3d1 100644 --- a/drivers/mtd/mtdswap.c +++ b/drivers/mtd/mtdswap.c
@@ -145,7 +145,7 @@ struct mtdswap_oobdata { __le16 magic; __le32 count; -} __attribute__((packed)); +} __packed; #define MTDSWAP_MAGIC_CLEAN 0x2095 #define MTDSWAP_MAGIC_DIRTY (MTDSWAP_MAGIC_CLEAN + 1)