Commit a44e40b4 authored by Mark A. Greer's avatar Mark A. Greer Committed by Greg Kroah-Hartman

[PATCH] i2c: chips/m41t00.c fixup

The 'new_time' variable should be static.
Signed-off-by: default avatarMark A. Greer <mgreer@mvista.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b280dab6
...@@ -144,7 +144,7 @@ m41t00_set_tlet(ulong arg) ...@@ -144,7 +144,7 @@ m41t00_set_tlet(ulong arg)
return; return;
} }
ulong new_time; static ulong new_time;
DECLARE_TASKLET_DISABLED(m41t00_tasklet, m41t00_set_tlet, (ulong)&new_time); DECLARE_TASKLET_DISABLED(m41t00_tasklet, m41t00_set_tlet, (ulong)&new_time);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment