You need to sign in or sign up before continuing.
提交 e2e6b7b7 编写于 作者: B 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: NBrian Norris <computersforpeace@gmail.com>
Acked-by: NHuang Shijie <b32955@freescale.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册