Subject: [PATCH] Sibyte: fix compilation error.

From: Mark Mason <[email-masked]>
Date: Wed, 23 Sep 2009 13:35:09 -0700

---
 arch/mips/sibyte/swarm/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/sibyte/swarm/setup.c b/arch/mips/sibyte/swarm/setup.c
index 623ffc9..5277aac 100644
--- a/arch/mips/sibyte/swarm/setup.c
+++ b/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)
-- 
1.6.0.2

---

From: Ralf Baechle <[email-masked]>
Date: Wed, 23 Sep 2009 22:01:13 +0100

On Wed, Sep 23, 2009 at 01:35:09PM -0700, Mark Mason wrote:

Thanks, applied.

  Ralf