]> err.no Git - linux-2.6/commitdiff
[PATCH] i2c: chips/m41t00.c fixup
authorMark A. Greer <mgreer@mvista.com>
Fri, 2 Sep 2005 01:09:54 +0000 (18:09 -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/m41t00.c

index e516dadc453fe50506cd606e7259d82f113acc0c..3f14528a52a9248cdc1d44a0968fe4d54956d547 100644 (file)
@@ -144,7 +144,7 @@ m41t00_set_tlet(ulong arg)
        return;
 }
 
-ulong  new_time;
+static ulong   new_time;
 
 DECLARE_TASKLET_DISABLED(m41t00_tasklet, m41t00_set_tlet, (ulong)&new_time);