diff options
author | Brian Norris <computersforpeace@gmail.com> | 2013-12-05 12:06:54 -0800 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-13 23:13:31 -0800 |
commit | e2e6b7b7d64baeac1c38fa5eb0d3ec85f3d123f5 (patch) | |
tree | f589b2685186c9203919cf1af8a5b975df84c620 | |
parent | 8429bb3975ef81c114cde4da111e64d224d19f83 (diff) | |
download | linux-e2e6b7b7d64baeac1c38fa5eb0d3ec85f3d123f5.tar.bz2 |
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>
-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 |