From: Mark A. Greer Date: Fri, 2 Sep 2005 01:12:04 +0000 (-0700) Subject: [PATCH] i2c: chips/ds1374.c fixup X-Git-Tag: v2.6.14-rc1~752^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8e14d6c173f8fff05a94e62669c87c26141766af;p=linux-2.6-omap-h63xx.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 e2d1daf7988..0936327a946 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);