aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-m68knommu/MC68328.h
diff options
context:
space:
mode:
authorVinay K Nallamothu <vinay.nallamothu@gsecone.com>2005-05-01 11:59:09 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 11:59:09 -0400
commitf78fc874f42f63a460bcebc2aeb98db526280d1c (patch)
treead78acf82f36bb14e8a9ae0980d350d6f5cf704e /include/asm-m68knommu/MC68328.h
parente49332bd12e92da2df6d002f857ec62675ba2648 (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/MC68328.h')
-rw-r--r--include/asm-m68knommu/MC68328.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68knommu/MC68328.h b/include/asm-m68knommu/MC68328.h
index 4f5a9845f5be..a337e56d09bf 100644
--- a/include/asm-m68knommu/MC68328.h
+++ b/include/asm-m68knommu/MC68328.h
@@ -993,7 +993,7 @@ typedef volatile struct {
993 volatile unsigned short int pad1; 993 volatile unsigned short int pad1;
994 volatile unsigned short int pad2; 994 volatile unsigned short int pad2;
995 volatile unsigned short int pad3; 995 volatile unsigned short int pad3;
996} m68328_uart __attribute__((packed)); 996} __attribute__((packed)) m68328_uart;
997 997
998 998
999/********** 999/**********