浏览代码

MIPS: Sibyte: Fix compilation error.

Build error introduced by d4f587c67fc39e0030ddd718675e252e208da4d7.

Signed-off-by: Mark Mason <mmason@upwardaccess.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Mark Mason 15 年之前
父节点
当前提交
a648e81196
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/mips/sibyte/swarm/setup.c

+ 1 - 1
arch/mips/sibyte/swarm/setup.c

@@ -106,7 +106,7 @@ void read_persistent_clock(struct timespec *ts)
 		break;
 	}
 	ts->tv_sec = sec;
-	tv->tv_nsec = 0;
+	ts->tv_nsec = 0;
 }
 
 int rtc_mips_set_time(unsigned long sec)