* [2.6 patch] fujitsu-laptop.c: make 2 functions static
@ 2007-10-24 16:23 Adrian Bunk
2007-10-25 5:07 ` Jonathan Woithe
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2007-10-24 16:23 UTC (permalink / raw)
To: Jonathan Woithe, Len Brown; +Cc: linux-kernel
acpi_fujitsu_{add,remove}() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
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");
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [2.6 patch] fujitsu-laptop.c: make 2 functions static
2007-10-24 16:23 [2.6 patch] fujitsu-laptop.c: make 2 functions static Adrian Bunk
@ 2007-10-25 5:07 ` Jonathan Woithe
2007-10-25 20:50 ` Len Brown
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Woithe @ 2007-10-25 5:07 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Jonathan Woithe, Len Brown, linux-kernel
> acpi_fujitsu_{add,remove}() can become static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
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");
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [2.6 patch] fujitsu-laptop.c: make 2 functions static
2007-10-25 5:07 ` Jonathan Woithe
@ 2007-10-25 20:50 ` Len Brown
0 siblings, 0 replies; 3+ messages in thread
From: Len Brown @ 2007-10-25 20:50 UTC (permalink / raw)
To: Jonathan Woithe; +Cc: Adrian Bunk, linux-kernel
Applied.
thanks,
-Len
On Thursday 25 October 2007 01:07, Jonathan Woithe wrote:
> > acpi_fujitsu_{add,remove}() can become static.
> >
> > Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> 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");
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-25 20:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-24 16:23 [2.6 patch] fujitsu-laptop.c: make 2 functions static Adrian Bunk
2007-10-25 5:07 ` Jonathan Woithe
2007-10-25 20:50 ` Len Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox