[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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b280dab6d6
commit
a44e40b4d8
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user