diff options
author | Brian Norris <computersforpeace@gmail.com> | 2013-12-06 00:06:54 +0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-14 11:13:31 +0400 |
commit | e2e6b7b7d64baeac1c38fa5eb0d3ec85f3d123f5 (patch) | |
tree | f589b2685186c9203919cf1af8a5b975df84c620 /include/linux/mtd | |
parent | 8429bb3975ef81c114cde4da111e64d224d19f83 (diff) | |
download | linux-e2e6b7b7d64baeac1c38fa5eb0d3ec85f3d123f5.tar.xz |
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.h | 2 |
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 { u8 vendor[88]; __le16 crc; -} __attribute__((packed)); +} __packed; #define ONFI_CRC_BASE 0x4F4E |