[ACPI]
authorSylvain Petreolle <spetreolle@yahoo.fr>
Wed, 10 Mar 2010 21:49:42 +0000 (21:49 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Wed, 10 Mar 2010 21:49:42 +0000 (21:49 +0000)
Fix implicit declaration warnings

svn path=/trunk/; revision=46075

reactos/drivers/bus/acpi/include/acpi_bus.h
reactos/drivers/bus/acpi/include/acpisys.h

index fa264a1..d5fe9ef 100644 (file)
@@ -318,6 +318,7 @@ int acpi_bus_set_power(ACPI_HANDLE handle, int state);
 BOOLEAN acpi_bus_power_manageable(ACPI_HANDLE handle);
 BOOLEAN acpi_bus_can_wakeup(ACPI_HANDLE handle);
 int acpi_bus_generate_proc_event(struct acpi_device *device, UINT8 type, int data);
+int acpi_bus_generate_event(struct acpi_device *device, UINT8 type, int data);
 int acpi_bus_receive_event(struct acpi_bus_event *event);
 int acpi_bus_register_driver(struct acpi_driver *driver);
 void acpi_bus_unregister_driver(struct acpi_driver *driver);
@@ -328,6 +329,9 @@ int acpi_bus_start(struct acpi_device *device);
 ACPI_STATUS acpi_bus_get_ejd(ACPI_HANDLE handle, ACPI_HANDLE * ejd);
 int acpi_match_device_ids(struct acpi_device *device,
                          const struct acpi_device_id *ids);
+int acpi_bus_get_device(ACPI_HANDLE handle, struct acpi_device **device);
+int acpi_init(void);
+ACPI_STATUS acpi_suspend (UINT32 state);
 
 /*
  * Bind physical devices with ACPI devices
index 4779d22..368ac97 100644 (file)
@@ -86,9 +86,9 @@ typedef struct _FDO_DEVICE_DATA
 
 /* acpienum.c */
 
-//NTSTATUS
-//ACPIEnumerateDevices(
-//  PFDO_DEVICE_EXTENSION DeviceExtension);
+NTSTATUS
+ACPIEnumerateDevices(
+  PFDO_DEVICE_DATA DeviceExtension);
 
 NTSTATUS
 NTAPI