mtd: nand: use __packed shorthand
authorBrian Norris <computersforpeace@gmail.com>
Thu, 5 Dec 2013 20:06:54 +0000 (12:06 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 14 Jan 2014 07:13:31 +0000 (23:13 -0800)
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>
include/linux/mtd/nand.h

index 3080a8c8b62ea4d29e499d441d004594f61de47e..05fcdfea640b3d666233d923dd5f8475350ab190 100644 (file)
@@ -292,7 +292,7 @@ struct nand_onfi_params {
        u8 vendor[88];
 
        __le16 crc;
-} __attribute__((packed));
+} __packed;
 
 #define ONFI_CRC_BASE  0x4F4E