[PATCH] i2c: chips/m41t00.c fixup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[PATCH] i2c: chips/m41t00.c fixup

The 'new_time' variable should be static.

Signed-off-by: Mark A. Greer <mgreer at mvista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

---
commit a44e40b4d8c2c6faa2158caf7114e1065fed3b34
tree 2ad3bac3e7ce7a64d91c9bba636a1f59372a83d7
parent b280dab6d62c8d0434cbc0aaeebf56d1fa4fcc19
author Mark A. Greer <mgreer at mvista.com> Thu, 01 Sep 2005 18:09:54 -0700
committer Greg Kroah-Hartman <gregkh at suse.de> Mon, 05 Sep 2005 09:26:53 -0700

 drivers/i2c/chips/m41t00.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/i2c/chips/m41t00.c b/drivers/i2c/chips/m41t00.c
--- a/drivers/i2c/chips/m41t00.c
+++ b/drivers/i2c/chips/m41t00.c
@@ -144,7 +144,7 @@ m41t00_set_tlet(ulong arg)
 	return;
 }
 
-ulong	new_time;
+static ulong	new_time;
 
 DECLARE_TASKLET_DISABLED(m41t00_tasklet, m41t00_set_tlet, (ulong)&new_time);
 





[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux