[PATCH] i2c: chips/ds1374.c fixup
authorMark A. Greer <mgreer@mvista.com>
Fri, 2 Sep 2005 01:12:04 +0000 (18:12 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Sep 2005 16:26:53 +0000 (09:26 -0700)
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>
drivers/i2c/chips/ds1374.c

index e2d1daf79880eeaa59fa92fd822b7755b8882e8d..0936327a946db0a8c5ca673f4a42ef8eae3dc598 100644 (file)
@@ -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);