lkml.org 
[lkml]   [2006]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[-mm patch] make drivers/hwmon/hdaps.c:transform_axes() static
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@stusta.de>

--- 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-13 23:03    [W:0.465 / U:15.852 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site