[-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 <bunk at 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;





[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux