projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8429bb3
)
mtd: nand: use __packed shorthand
author
Brian Norris
<computersforpeace@gmail.com>
Thu, 5 Dec 2013 20:06:54 +0000
(12:06 -0800)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/include/linux/mtd/nand.h
b/include/linux/mtd/nand.h
index 3080a8c8b62ea4d29e499d441d004594f61de47e..05fcdfea640b3d666233d923dd5f8475350ab190 100644
(file)
--- 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