浏览代码

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 */
 struct sh73a0_rwdt {
 	u16 rwtcnt0;	/* 0x00 */
+	u16 dummy0;	/* 0x02 */
 	u16 rwtcsra0;	/* 0x04 */
+	u16 dummy1;	/* 0x06 */
 	u16 rwtcsrb0;	/* 0x08 */
 };