]> err.no Git - linux-2.6/commitdiff
fujitsu-laptop: make 2 functions static
authorAdrian Bunk <bunk@kernel.org>
Wed, 24 Oct 2007 16:23:16 +0000 (18:23 +0200)
committerLen Brown <len.brown@intel.com>
Thu, 25 Oct 2007 20:50:00 +0000 (16:50 -0400)
acpi_fujitsu_{add,remove}() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/fujitsu-laptop.c

index d366a6cc1fd94807db5f6a50311324423d5fdf81..d686ba7f6f73dd891b978bebe93f74bd11331263 100644 (file)
@@ -198,7 +198,7 @@ static struct platform_driver fujitsupf_driver = {
 
 /* ACPI device */
 
-int acpi_fujitsu_add(struct acpi_device *device)
+static int acpi_fujitsu_add(struct acpi_device *device)
 {
        int result = 0;
        int state = 0;
@@ -229,7 +229,7 @@ int acpi_fujitsu_add(struct acpi_device *device)
        return result;
 }
 
-int acpi_fujitsu_remove(struct acpi_device *device, int type)
+static int acpi_fujitsu_remove(struct acpi_device *device, int type)
 {
        ACPI_FUNCTION_TRACE("acpi_fujitsu_remove");