]> err.no Git - linux-2.6/commitdiff
hwmon: make abituguru3_read_increment_offset() static
authorAdrian Bunk <bunk@stusta.de>
Sun, 29 Jul 2007 14:57:01 +0000 (16:57 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Tue, 31 Jul 2007 01:11:21 +0000 (21:11 -0400)
abituguru3_read_increment_offset() can become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/abituguru3.c

index a003d104ca4594bfb6118490da8a42323ca7496b..cdd8b6dea16ddb4d851fef2ea030fe1f47a6a6cf 100644 (file)
@@ -691,8 +691,9 @@ static int abituguru3_read(struct abituguru3_data *data, u8 bank, u8 offset,
 
 /* 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;