Skip to content

Commit

Permalink
[PATCH] i2c: chips/ds1374.c fixup
Browse files Browse the repository at this point in the history
The 'new_time' variable should be static.

Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Mark A. Greer authored and Greg Kroah-Hartman committed Sep 5, 2005
1 parent a44e40b commit 8e14d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/chips/ds1374.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ static void ds1374_set_tlet(ulong arg)
"can't confirm time set from rtc chip\n");
}

ulong new_time;
static ulong new_time;

DECLARE_TASKLET_DISABLED(ds1374_tasklet, ds1374_set_tlet, (ulong) & new_time);

Expand Down

0 comments on commit 8e14d6c

Please sign in to comment.