Commit 297640e8 authored by Timur Tabi's avatar Timur Tabi Committed by Kumar Gala

[POWERPC] qe: ucc_slow.guemr is in the wrong place

The definition of struct ucc_slow puts the guemr register immediately after the
utpt register, when it should be at offset 0x90.  This patch adds the missing
0x52-byte padding.
Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 7f013bc9
...@@ -258,8 +258,9 @@ struct ucc_slow { ...@@ -258,8 +258,9 @@ struct ucc_slow {
u8 uccs; /* UCCx status register */ u8 uccs; /* UCCx status register */
u8 res3[0x24]; u8 res3[0x24];
__be16 utpt; __be16 utpt;
u8 res4[0x52];
u8 guemr; /* UCC general extended mode register */ u8 guemr; /* UCC general extended mode register */
u8 res4[0x200 - 0x091]; u8 res5[0x200 - 0x091];
} __attribute__ ((packed)); } __attribute__ ((packed));
/* QE UCC Fast */ /* QE UCC Fast */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment