]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] qe: ucc_slow.guemr is in the wrong place
authorTimur Tabi <timur@freescale.com>
Mon, 26 Mar 2007 19:25:42 +0000 (14:25 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 29 Mar 2007 19:33:56 +0000 (14:33 -0500)
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>
include/asm-powerpc/immap_qe.h

index 9fdd0491f6a37fdc75ecc940ca6e73dfb1d50605..1020b7fc0129b021eaf1b2f08cc13174b838c439 100644 (file)
@@ -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 */