summaryrefslogtreecommitdiff
path: root/drivers/i2c/chips
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@mvista.com>2005-09-01 18:09:54 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-05 09:26:53 -0700
commita44e40b4d8c2c6faa2158caf7114e1065fed3b34 (patch)
tree2ad3bac3e7ce7a64d91c9bba636a1f59372a83d7 /drivers/i2c/chips
parentb280dab6d62c8d0434cbc0aaeebf56d1fa4fcc19 (diff)
[PATCH] i2c: chips/m41t00.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/chips')
-rw-r--r--drivers/i2c/chips/m41t00.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/chips/m41t00.c b/drivers/i2c/chips/m41t00.c
index e516dadc453f..3f14528a52a9 100644
--- a/drivers/i2c/chips/m41t00.c
+++ b/drivers/i2c/chips/m41t00.c
@@ -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);