[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070729145701.GJ16817@stusta.de>
Date: Sun, 29 Jul 2007 16:57:01 +0200
From: Adrian Bunk <bunk@...sta.de>
To: Hans de Goede <j.w.r.degoede@....nl>,
"Mark M. Hoffman" <mhoffman@...htlink.com>
Cc: lm-sensors@...sensors.org, linux-kernel@...r.kernel.org
Subject: [2.6 patch] make abituguru3_read_increment_offset() static
abituguru3_read_increment_offset() can become static.
Signed-off-by: Adrian Bunk <bunk@...sta.de>
---
--- linux-2.6.23-rc1-mm1/drivers/hwmon/abituguru3.c.old 2007-07-26 08:56:33.000000000 +0200
+++ linux-2.6.23-rc1-mm1/drivers/hwmon/abituguru3.c 2007-07-26 08:57:00.000000000 +0200
@@ -691,8 +691,9 @@
/* Sensor settings are stored 1 byte per offset with the bytes
placed add consecutive offsets. */
-int abituguru3_read_increment_offset(struct abituguru3_data *data, u8 bank,
- u8 offset, u8 count, u8 *buf, int offset_count)
+static int abituguru3_read_increment_offset(struct abituguru3_data *data,
+ u8 bank, u8 offset, u8 count,
+ u8 *buf, int offset_count)
{
int i, x;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists