diff options
author | Mark A. Greer <mgreer@mvista.com> | 2005-09-01 21:09:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-05 12:26:53 -0400 |
commit | a44e40b4d8c2c6faa2158caf7114e1065fed3b34 (patch) | |
tree | 2ad3bac3e7ce7a64d91c9bba636a1f59372a83d7 /drivers/i2c | |
parent | b280dab6d62c8d0434cbc0aaeebf56d1fa4fcc19 (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')
-rw-r--r-- | drivers/i2c/chips/m41t00.c | 2 |
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) | |||
144 | return; | 144 | return; |
145 | } | 145 | } |
146 | 146 | ||
147 | ulong new_time; | 147 | static ulong new_time; |
148 | 148 | ||
149 | DECLARE_TASKLET_DISABLED(m41t00_tasklet, m41t00_set_tlet, (ulong)&new_time); | 149 | DECLARE_TASKLET_DISABLED(m41t00_tasklet, m41t00_set_tlet, (ulong)&new_time); |
150 | 150 | ||