public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] #ifdef ACPI_FUTURE_USAGE acpi_ut_create_pkg_state_and_push
@ 2005-01-27 11:04 Adrian Bunk
  2005-01-27 23:18 ` Len Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-01-27 11:04 UTC (permalink / raw)
  To: len.brown; +Cc: acpi-devel, linux-kernel

The prototype of the unused global function 
acpi_ut_create_pkg_state_and_push was already #ifdef 
ACPI_FUTURE_USAGE'd, but the actual function wasn't.

Most likely this was a bug in my patch that added
ACPI_FUTURE_USAGE.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.11-rc2-mm1-full/drivers/acpi/utilities/utmisc.c.old	2005-01-26 22:31:11.000000000 +0100
+++ linux-2.6.11-rc2-mm1-full/drivers/acpi/utilities/utmisc.c	2005-01-26 22:40:40.000000000 +0100
@@ -872,7 +885,7 @@
  * DESCRIPTION: Create a new state and push it
  *
  ******************************************************************************/
-
+#ifdef ACPI_FUTURE_USAGE
 acpi_status
 acpi_ut_create_pkg_state_and_push (
 	void                            *internal_object,
@@ -894,7 +907,7 @@
 	acpi_ut_push_generic_state (state_list, state);
 	return (AE_OK);
 }
-
+#endif  /*  ACPI_FUTURE_USAGE  */
 
 /*******************************************************************************
  *


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-27 23:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-27 11:04 [2.6 patch] #ifdef ACPI_FUTURE_USAGE acpi_ut_create_pkg_state_and_push Adrian Bunk
2005-01-27 23:18 ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox