Re: [PATCH] thinkpad_acpi: Define _sta() only when there are callsites

2008-01-16 Thread Henrique de Moraes Holschuh
Another version of this patch has been sent to Len Brown for 2.6.25 already. -- "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 -- To

[PATCH] thinkpad_acpi: Define _sta() only when there are callsites

2008-01-16 Thread Johannes Weiner
With configs where neither the dock nor the bay subdriver is enabled, _sta() is defined but never used. Define it conditionally. Signed-off-by: Johannes Weiner <[EMAIL PROTECTED]> --- drivers/misc/thinkpad_acpi.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[PATCH] thinkpad_acpi: Define _sta() only when there are callsites

2008-01-16 Thread Johannes Weiner
With configs where neither the dock nor the bay subdriver is enabled, _sta() is defined but never used. Define it conditionally. Signed-off-by: Johannes Weiner [EMAIL PROTECTED] --- drivers/misc/thinkpad_acpi.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

Re: [PATCH] thinkpad_acpi: Define _sta() only when there are callsites

2008-01-16 Thread Henrique de Moraes Holschuh
Another version of this patch has been sent to Len Brown for 2.6.25 already. -- 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 -- To