diff options
author | Vinay K Nallamothu <vinay.nallamothu@gsecone.com> | 2005-05-01 11:59:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 11:59:09 -0400 |
commit | f78fc874f42f63a460bcebc2aeb98db526280d1c (patch) | |
tree | ad78acf82f36bb14e8a9ae0980d350d6f5cf704e /include/asm-m68knommu/MC68VZ328.h | |
parent | e49332bd12e92da2df6d002f857ec62675ba2648 (diff) |
[PATCH] __attribute__ placement fixes
The variable attributes "packed" and "align" when used with struct, should
have the following order:
struct ... {...} __attribute__((packed)) var;
This patch fixes few instances where the variable and attributes are placed
the other way around and had no effect.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-m68knommu/MC68VZ328.h')
-rw-r--r-- | include/asm-m68knommu/MC68VZ328.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68knommu/MC68VZ328.h b/include/asm-m68knommu/MC68VZ328.h index df74322f37ed..2b9bf626a0a5 100644 --- a/include/asm-m68knommu/MC68VZ328.h +++ b/include/asm-m68knommu/MC68VZ328.h | |||
@@ -909,7 +909,7 @@ typedef struct { | |||
909 | volatile unsigned short int nipr; | 909 | volatile unsigned short int nipr; |
910 | volatile unsigned short int hmark; | 910 | volatile unsigned short int hmark; |
911 | volatile unsigned short int unused; | 911 | volatile unsigned short int unused; |
912 | } m68328_uart __attribute__((packed)); | 912 | } __attribute__((packed)) m68328_uart; |
913 | 913 | ||
914 | 914 | ||
915 | 915 | ||