public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* compile warning fix patch 2.4.26pre1
@ 2004-02-29  2:37 Sérgio Monteiro Basto
  0 siblings, 0 replies; only message in thread
From: Sérgio Monteiro Basto @ 2004-02-29  2:37 UTC (permalink / raw)
  To: acpi-devel

[-- Attachment #1: Type: text/plain, Size: 925 bytes --]

Hi
compiling 2.4.26-pre1 appears this:

system.c: In function `acpi_power_off':
system.c:98: warning: implicit declaration of function `acpi_system_save_state'
system.c: At top level:
system.c:178: warning: type mismatch with previous implicit declaration
system.c:98: warning: previous implicit declaration of `acpi_system_save_state'
system.c:178: warning: `acpi_system_save_state' was previously implicitly declared to return `int'
system.c: In function `acpi_power_off':
system.c:98: warning: implicit declaration of function `acpi_system_save_state'
system.c: At top level:
system.c:178: warning: type mismatch with previous implicit declaration
system.c:98: warning: previous implicit declaration of `acpi_system_save_state'
system.c:178: warning: `acpi_system_save_state' was previously implicitly declared to return `int'

this could be resolved with this trivial patch 

Thanks
-- 
Sérgio M. B.

[-- Attachment #2: compilewarningfix.diff --]
[-- Type: text/x-patch, Size: 428 bytes --]

--- linux-2.4.25.new/drivers/acpi/system.orig	2004-02-29 02:21:44.000000000 +0000
+++ linux-2.4.25.new/drivers/acpi/system.c	2004-02-29 02:22:12.000000000 +0000
@@ -61,6 +61,7 @@
 static int acpi_system_remove (struct acpi_device *device, int type);
 
 acpi_status acpi_suspend (u32 state);
+acpi_status acpi_system_save_state (u32 state);
 
 static struct acpi_driver acpi_system_driver = {
 	.name =		ACPI_SYSTEM_DRIVER_NAME,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-29  2:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-29  2:37 compile warning fix patch 2.4.26pre1 Sérgio Monteiro Basto

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