summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@mvista.com>2005-09-02 03:09:54 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-05 18:26:53 +0200
commita44e40b4d8c2c6faa2158caf7114e1065fed3b34 (patch)
tree2ad3bac3e7ce7a64d91c9bba636a1f59372a83d7 /drivers
parent[PATCH] I2C: Drop probe parameter of i2c-keywest (diff)
downloadlinux-a44e40b4d8c2c6faa2158caf7114e1065fed3b34.tar.xz
linux-a44e40b4d8c2c6faa2158caf7114e1065fed3b34.zip
[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')
-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);