Re: [2.6 patch] fujitsu-laptop.c: make 2 functions static

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adrian Bunk <bunk@...>
Cc: Jonathan Woithe <jwoithe@...>, Len Brown <len.brown@...>, <linux-kernel@...>
Date: Thursday, October 25, 2007 - 1:07 am

> acpi_fujitsu_{add,remove}() can become static.

Looks fine.  Ack.

Signed-off-by: Jonathan Woithe <jwoithe@physics.adelaide.edu.au>

jonathan

---
 drivers/misc/fujitsu-laptop.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

175c8b648a54b625037916a8f6e3851574141532 
diff --git a/drivers/misc/fujitsu-laptop.c b/drivers/misc/fujitsu-laptop.c
index d366a6c..d686ba7 100644
--- a/drivers/misc/fujitsu-laptop.c
+++ b/drivers/misc/fujitsu-laptop.c
@@ -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");
 

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] fujitsu-laptop.c: make 2 functions static, Adrian Bunk, (Wed Oct 24, 12:23 pm)
Re: [2.6 patch] fujitsu-laptop.c: make 2 functions static, Jonathan Woithe, (Thu Oct 25, 1:07 am)