From: Mark A. Greer Date: Fri, 2 Sep 2005 01:12:04 +0000 (-0700) Subject: [PATCH] i2c: chips/ds1374.c fixup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8e14d6c173f8fff05a94e62669c87c26141766af;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [PATCH] i2c: chips/ds1374.c fixup The 'new_time' variable should be static. Signed-off-by: Mark A. Greer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/i2c/chips/ds1374.c b/drivers/i2c/chips/ds1374.c index e2d1daf79880..0936327a946d 100644 --- a/drivers/i2c/chips/ds1374.c +++ b/drivers/i2c/chips/ds1374.c @@ -165,7 +165,7 @@ static void ds1374_set_tlet(ulong arg) "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);