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
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;
> }
>