Skip to contentSkip to conversation

arch/avr32: Fix build failure caused by typo

PATCH In review Peter Hüwe 2 participants 2 messages Apr 21, 2010 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arch/avr32: Fix build failure caused by typo

From: Peter Huewe <[email protected]>

This little patch fixes a build failure[1] caused by a typo.

Patch against linux-next20100421

References:
[1]http://kisskb.ellerman.id.au/kisskb/buildresult/2448162/

---
 arch/avr32/kernel/time.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/avr32/kernel/time.c +1 -1
index a047d69..668ed28 100644
@@ -112,7 +112,7 @@ static struct clock_event_device comparator = {
 
 void read_persistent_clock(struct timespec *ts)
 {
-	ts->tv.sec = mktime(2007, 1, 1, 0, 0, 0);
+	ts->tv_sec = mktime(2007, 1, 1, 0, 0, 0);
 	ts->tv_nsec = 0;
 }
 
Signature · 1 line
1.6.4.4
#1 lore raw
Quoted 10 lines · Peter Hüwe

From: Peter Huewe <[email protected]>

This little patch fixes a build failure[1] caused by a typo.

Patch against linux-next20100421

References:
[1]http://kisskb.ellerman.id.au/kisskb/buildresult/2448162/

Ah! Sorry about that. Thanks so much for catching this! -john

Quoted 9 lines
---
 arch/avr32/kernel/time.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/avr32/kernel/time.c +0 -0
index a047d69..668ed28 100644

arch/avr32/kernel/time.c static struct clock_event_device comparator = { · line 118

Quoted 8 lines
arch/avr32/kernel/time.c +1 -1
@@ -112,7 +112,7 @@ static struct clock_event_device comparator = {
 
 void read_persistent_clock(struct timespec *ts)
 {
-	ts->tv.sec = mktime(2007, 1, 1, 0, 0, 0);
+	ts->tv_sec = mktime(2007, 1, 1, 0, 0, 0);
 	ts->tv_nsec = 0;
 }
 

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html