LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] thinkpad_acpi.c: make 2 functions static
@ 2008-02-13 21:30 Adrian Bunk
2008-02-13 23:03 ` Henrique de Moraes Holschuh
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2008-02-13 21:30 UTC (permalink / raw)
To: Henrique de Moraes Holschuh, Len Brown, toshiba_acpi; +Cc: linux-kernel
this_patch_makes_the_needlessly_global_hotkey_wakeup_reason_notify_change_and_hotkey_wakeup_hotunplug_complete_notify_change_static
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
;-)
da7d9b1a1d74ba5265d02e316a215540fe2daf19 diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c
index 7ba1aca..e2c7edd 100644
--- a/drivers/misc/thinkpad_acpi.c
+++ b/drivers/misc/thinkpad_acpi.c
@@ -1689,7 +1689,7 @@ static ssize_t hotkey_wakeup_reason_show(struct device *dev,
static struct device_attribute dev_attr_hotkey_wakeup_reason =
__ATTR(wakeup_reason, S_IRUGO, hotkey_wakeup_reason_show, NULL);
-void hotkey_wakeup_reason_notify_change(void)
+static void hotkey_wakeup_reason_notify_change(void)
{
if (tp_features.hotkey_mask)
sysfs_notify(&tpacpi_pdev->dev.kobj, NULL,
@@ -1708,7 +1708,7 @@ static struct device_attribute dev_attr_hotkey_wakeup_hotunplug_complete =
__ATTR(wakeup_hotunplug_complete, S_IRUGO,
hotkey_wakeup_hotunplug_complete_show, NULL);
-void hotkey_wakeup_hotunplug_complete_notify_change(void)
+static void hotkey_wakeup_hotunplug_complete_notify_change(void)
{
if (tp_features.hotkey_mask)
sysfs_notify(&tpacpi_pdev->dev.kobj, NULL,
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [2.6 patch] thinkpad_acpi.c: make 2 functions static
2008-02-13 21:30 [2.6 patch] thinkpad_acpi.c: make 2 functions static Adrian Bunk
@ 2008-02-13 23:03 ` Henrique de Moraes Holschuh
2008-02-14 0:57 ` Adrian Bunk
0 siblings, 1 reply; 3+ messages in thread
From: Henrique de Moraes Holschuh @ 2008-02-13 23:03 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Len Brown, linux-kernel
On Wed, 13 Feb 2008, Adrian Bunk wrote:
> this_patch_makes_the_needlessly_global_hotkey_wakeup_reason_notify_change_and_hotkey_wakeup_hotunplug_complete_notify_change_static
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
>
> ;-)
>
> da7d9b1a1d74ba5265d02e316a215540fe2daf19 diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c
> index 7ba1aca..e2c7edd 100644
> --- a/drivers/misc/thinkpad_acpi.c
> +++ b/drivers/misc/thinkpad_acpi.c
> @@ -1689,7 +1689,7 @@ static ssize_t hotkey_wakeup_reason_show(struct device *dev,
> static struct device_attribute dev_attr_hotkey_wakeup_reason =
> __ATTR(wakeup_reason, S_IRUGO, hotkey_wakeup_reason_show, NULL);
>
> -void hotkey_wakeup_reason_notify_change(void)
> +static void hotkey_wakeup_reason_notify_change(void)
> {
> if (tp_features.hotkey_mask)
> sysfs_notify(&tpacpi_pdev->dev.kobj, NULL,
> @@ -1708,7 +1708,7 @@ static struct device_attribute dev_attr_hotkey_wakeup_hotunplug_complete =
> __ATTR(wakeup_hotunplug_complete, S_IRUGO,
> hotkey_wakeup_hotunplug_complete_show, NULL);
>
> -void hotkey_wakeup_hotunplug_complete_notify_change(void)
> +static void hotkey_wakeup_hotunplug_complete_notify_change(void)
> {
> if (tp_features.hotkey_mask)
> sysfs_notify(&tpacpi_pdev->dev.kobj, NULL,
>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
---
That said, I have no idea what toshiba-acpi has to do with the above patch
;-)
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [2.6 patch] thinkpad_acpi.c: make 2 functions static
2008-02-13 23:03 ` Henrique de Moraes Holschuh
@ 2008-02-14 0:57 ` Adrian Bunk
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2008-02-14 0:57 UTC (permalink / raw)
To: Henrique de Moraes Holschuh; +Cc: Len Brown, linux-kernel
On Wed, Feb 13, 2008 at 09:03:21PM -0200, Henrique de Moraes Holschuh wrote:
>...
> That said, I have no idea what toshiba-acpi has to do with the above patch
> ;-)
They both begin with a t and end with acpi so they have to be the same,
don't they? ;-)
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-02-14 0:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-13 21:30 [2.6 patch] thinkpad_acpi.c: make 2 functions static Adrian Bunk
2008-02-13 23:03 ` Henrique de Moraes Holschuh
2008-02-14 0:57 ` Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).