diff options
author | Mark A. Greer <mgreer@mvista.com> | 2005-09-01 21:12:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-05 12:26:53 -0400 |
commit | 8e14d6c173f8fff05a94e62669c87c26141766af (patch) | |
tree | 1df28e8ce3deab3a3a9ebaa4d6a5846f0ab5c733 /drivers/i2c | |
parent | a44e40b4d8c2c6faa2158caf7114e1065fed3b34 (diff) |
[PATCH] i2c: chips/ds1374.c fixup
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/chips/ds1374.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/chips/ds1374.c b/drivers/i2c/chips/ds1374.c index e2d1daf79880..0936327a946d 100644 --- a/drivers/i2c/chips/ds1374.c +++ b/drivers/i2c/chips/ds1374.c | |||
@@ -165,7 +165,7 @@ static void ds1374_set_tlet(ulong arg) | |||
165 | "can't confirm time set from rtc chip\n"); | 165 | "can't confirm time set from rtc chip\n"); |
166 | } | 166 | } |
167 | 167 | ||
168 | ulong new_time; | 168 | static ulong new_time; |
169 | 169 | ||
170 | DECLARE_TASKLET_DISABLED(ds1374_tasklet, ds1374_set_tlet, (ulong) & new_time); | 170 | DECLARE_TASKLET_DISABLED(ds1374_tasklet, ds1374_set_tlet, (ulong) & new_time); |
171 | 171 | ||