From: Adrian Bunk 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 Acked-by: Shem Multinymous Cc: Pavel Machek Cc: Robert Love Signed-off-by: Andrew Morton --- drivers/hwmon/hdaps.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/hwmon/hdaps.c~hdaps-unify-and-cache-hdaps-readouts-fix drivers/hwmon/hdaps.c --- a/drivers/hwmon/hdaps.c~hdaps-unify-and-cache-hdaps-readouts-fix +++ a/drivers/hwmon/hdaps.c @@ -72,7 +72,7 @@ static u8 km_activity; static int rest_x, rest_y; /* calibrated rest position */ /* 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; _