[-mm patch] make drivers/hwmon/hdaps.c:transform_axes() static

From: Adrian Bunk
Date: Sun Aug 13 2006 - 16:58:02 EST


On Sun, Aug 13, 2006 at 01:24:54AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.18-rc3-mm2:
>...
> +hdaps-unify-and-cache-hdaps-readouts.patch
>...
> HDAPS driver updates

transform_axes() isn't a good name for a global function.

Thankfully, it can simply made static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.18-rc4-mm1/drivers/hwmon/hdaps.c.old 2006-08-13 17:45:34.000000000 +0200
+++ linux-2.6.18-rc4-mm1/drivers/hwmon/hdaps.c 2006-08-13 17:45:50.000000000 +0200
@@ -85,7 +85,7 @@
static u64 last_mouse_jiffies = INITIAL_JIFFIES;

/* Some models require an axis transformation to the standard reprsentation */
-void transform_axes(int *x, int *y)
+static void transform_axes(int *x, int *y)
{
if (hdaps_invert) {
*x = -*x;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/