mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-16 18:27:42 +07:00
[PATCH] i2c: chips/ds1374.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:
parent
a44e40b4d8
commit
8e14d6c173
@ -165,7 +165,7 @@ static void ds1374_set_tlet(ulong arg)
|
|||||||
"can't confirm time set from rtc chip\n");
|
"can't confirm time set from rtc chip\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
ulong new_time;
|
static ulong new_time;
|
||||||
|
|
||||||
DECLARE_TASKLET_DISABLED(ds1374_tasklet, ds1374_set_tlet, (ulong) & new_time);
|
DECLARE_TASKLET_DISABLED(ds1374_tasklet, ds1374_set_tlet, (ulong) & new_time);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user