Selaa lähdekoodia

mpc83xx: fix global timer structure definition

The byte address distance between GTCFR2 and GTMDR1 is 11, not 10.

Reported-by: Shawn Bai <programassem@hotmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Kim Phillips 13 vuotta sitten
vanhempi
commit
63063cc7ae
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      arch/powerpc/include/asm/immap_83xx.h

+ 1 - 1
arch/powerpc/include/asm/immap_83xx.h

@@ -113,7 +113,7 @@ typedef struct gtm83xx {
 	u8 cfr1;		/* Timer1/2 Configuration */
 	u8 cfr1;		/* Timer1/2 Configuration */
 	u8 res0[3];
 	u8 res0[3];
 	u8 cfr2;		/* Timer3/4 Configuration */
 	u8 cfr2;		/* Timer3/4 Configuration */
-	u8 res1[10];
+	u8 res1[11];
 	u16 mdr1;		/* Timer1 Mode Register */
 	u16 mdr1;		/* Timer1 Mode Register */
 	u16 mdr2;		/* Timer2 Mode Register */
 	u16 mdr2;		/* Timer2 Mode Register */
 	u16 rfr1;		/* Timer1 Reference Register */
 	u16 rfr1;		/* Timer1 Reference Register */