Skip to contentSkip to conversation

i2c: chips/ds1374.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/ds1374.c fixup

The 'new_time' variable should be static.

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

drivers/i2c/chips/ds1374.c +1 -1
diff -Nur linux-2.6.13-mm1/drivers/i2c/chips/ds1374.c linux-2.6.13-mm1-mag/drivers/i2c/chips/ds1374.c
@@ -165,7 +165,7 @@
 			 "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);