Skip to contentSkip to conversation

i2c: chips/ds1374.c fixup

PATCH New Greg KH 1 participant 1 message Sep 5, 2005

lore
Share & tools
lore

Greg KH

author
#0 lore raw

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

[PATCH] i2c: chips/ds1374.c fixup

The 'new_time' variable should be static.

---
commit 8e14d6c173f8fff05a94e62669c87c26141766af
tree 1df28e8ce3deab3a3a9ebaa4d6a5846f0ab5c733
parent a44e40b4d8c2c6faa2158caf7114e1065fed3b34
author Mark A. Greer <[email protected]> Thu, 01 Sep 2005 18:12:04 -0700 committer Greg Kroah-Hartman <[email protected]> Mon, 05 Sep 2005 09:26:53 -0700

 drivers/i2c/chips/ds1374.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/i2c/chips/ds1374.c +1 -1
@@ -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);