Skip to content

Commit

Permalink
fujitsu-laptop: make 2 functions static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Len Brown committed Oct 25, 2007
1 parent c9927c2 commit b6f03ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/misc/fujitsu-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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");

Expand Down

0 comments on commit b6f03ae

Please sign in to comment.