Skip to content

Commit

Permalink
[POWERPC] qe: ucc_slow.guemr is in the wrong place
Browse files Browse the repository at this point in the history
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: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Timur Tabi authored and Kumar Gala committed Mar 29, 2007
1 parent 7f013bc commit 297640e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/asm-powerpc/immap_qe.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,9 @@ struct ucc_slow {
u8 uccs; /* UCCx status register */
u8 res3[0x24];
__be16 utpt;
u8 res4[0x52];
u8 guemr; /* UCC general extended mode register */
u8 res4[0x200 - 0x091];
u8 res5[0x200 - 0x091];
} __attribute__ ((packed));

/* QE UCC Fast */
Expand Down

0 comments on commit 297640e

Please sign in to comment.