2010-04-21 21:18:27

by Peter Huewe

[permalink] [raw]
Subject: [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/

Signed-off-by: Peter Huewe <[email protected]>
---
arch/avr32/kernel/time.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/avr32/kernel/time.c b/arch/avr32/kernel/time.c
index a047d69..668ed28 100644
--- a/arch/avr32/kernel/time.c
+++ b/arch/avr32/kernel/time.c
@@ -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;
}

--
1.6.4.4


2010-04-21 21:35:29

by john stultz

[permalink] [raw]
Subject: Re: [PATCH 1/2] arch/avr32: Fix build failure caused by typo

On Wed, 2010-04-21 at 23:18 +0200, Peter Hüwe wrote:
> 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/
>
> Signed-off-by: Peter Huewe <[email protected]>

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


> ---
> arch/avr32/kernel/time.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/avr32/kernel/time.c b/arch/avr32/kernel/time.c
> index a047d69..668ed28 100644
> --- a/arch/avr32/kernel/time.c
> +++ b/arch/avr32/kernel/time.c
> @@ -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;
> }
>