Skip to contentSkip to conversation

i2c: chips/m41t00.c fixup

PATCH New Mark A. Greer 1 participant 1 message Sep 2, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: chips/m41t00.c fixup

The 'new_time' variable should be static.

Signed-off-by: Mark A. Greer
--

drivers/i2c/chips/m41t00.c +1 -1
diff -Nur linux-2.6.13-mm1/drivers/i2c/chips/m41t00.c linux-2.6.13-mm1-mag/drivers/i2c/chips/m41t00.c
@@ -144,7 +144,7 @@
 	return;
 }
 
-ulong	new_time;
+static ulong	new_time;
 
 DECLARE_TASKLET_DISABLED(m41t00_tasklet, m41t00_set_tlet, (ulong)&new_time);