소스 검색

arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt

Add dummy member to struct sh73a0_rwdt in sh73a0.h.
Without this, initializing watch dog timer goes wrong.

Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tetsuyuki Kobayashi 12 년 전
부모
커밋
2c1157df46
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      arch/arm/include/asm/arch-rmobile/sh73a0.h

+ 2 - 0
arch/arm/include/asm/arch-rmobile/sh73a0.h

@@ -63,7 +63,9 @@
 /* RWDT */
 /* RWDT */
 struct sh73a0_rwdt {
 struct sh73a0_rwdt {
 	u16 rwtcnt0;	/* 0x00 */
 	u16 rwtcnt0;	/* 0x00 */
+	u16 dummy0;	/* 0x02 */
 	u16 rwtcsra0;	/* 0x04 */
 	u16 rwtcsra0;	/* 0x04 */
+	u16 dummy1;	/* 0x06 */
 	u16 rwtcsrb0;	/* 0x08 */
 	u16 rwtcsrb0;	/* 0x08 */
 };
 };