From: Brian Norris Date: Thu, 5 Dec 2013 20:06:54 +0000 (-0800) Subject: mtd: nand: use __packed shorthand X-Git-Tag: upstream/snapshot3+hdmi~3543^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e2e6b7b7d64baeac1c38fa5eb0d3ec85f3d123f5;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Acked-by: Huang Shijie --- diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 3080a8c..05fcdfe 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