aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2013-12-05 15:06:54 -0500
committerBrian Norris <computersforpeace@gmail.com>2014-01-14 02:13:31 -0500
commite2e6b7b7d64baeac1c38fa5eb0d3ec85f3d123f5 (patch)
treef589b2685186c9203919cf1af8a5b975df84c620 /include/linux/mtd
parent8429bb3975ef81c114cde4da111e64d224d19f83 (diff)
mtd: nand: use __packed shorthand
To be consistent with the rest of include/linux/mtd/nand.h, we should use the __packed shorthand instead of __attribute__((packed)). Signed-off-by: Brian Norris <computersforpeace@gmail.com> Acked-by: Huang Shijie <b32955@freescale.com>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/nand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 3080a8c8b62e..05fcdfea640b 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -292,7 +292,7 @@ struct nand_onfi_params {
292 u8 vendor[88]; 292 u8 vendor[88];
293 293
294 __le16 crc; 294 __le16 crc;
295} __attribute__((packed)); 295} __packed;
296 296
297#define ONFI_CRC_BASE 0x4F4E 297#define ONFI_CRC_BASE 0x4F4E
298 298