Skip to content

Commit e2e6b7b

Browse files
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>
1 parent 8429bb3 commit e2e6b7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/mtd/nand.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ struct nand_onfi_params {
292292
u8 vendor[88];
293293

294294
__le16 crc;
295-
} __attribute__((packed));
295+
} __packed;
296296

297297
#define ONFI_CRC_BASE 0x4F4E
298298

0 commit comments

Comments
 (0)