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

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

 



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 <[email protected]>

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux