Commit e2e6b7b7 authored by Brian Norris's avatar Brian Norris

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: default avatarBrian Norris <computersforpeace@gmail.com>
Acked-by: default avatarHuang Shijie <b32955@freescale.com>
parent 8429bb39
...@@ -292,7 +292,7 @@ struct nand_onfi_params { ...@@ -292,7 +292,7 @@ struct nand_onfi_params {
u8 vendor[88]; u8 vendor[88];
__le16 crc; __le16 crc;
} __attribute__((packed)); } __packed;
#define ONFI_CRC_BASE 0x4F4E #define ONFI_CRC_BASE 0x4F4E
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment