[ACPICA]
[reactos.git] / reactos / drivers / bus / acpi / power.c
index cb58d4f..fbff56e 100644 (file)
@@ -1,10 +1,4 @@
-#include <ntddk.h>
-
-#include <acpi.h>
-#include <acpisys.h>
-
-#include <acpi_bus.h>
-#include <acpi_drivers.h>
+#include "precomp.h"
 
 #define NDEBUG
 #include <debug.h>
@@ -76,7 +70,6 @@ Bus_FDO_Power (
                ((powerType == SystemPowerState) ? \
                DbgSystemPowerString(powerState.SystemState) :\
                DbgDevicePowerString(powerState.DeviceState)));
-    }
 
   if (powerType == SystemPowerState)
   {     
@@ -111,6 +104,7 @@ Bus_FDO_Power (
         status = STATUS_UNSUCCESSFUL;
       }
   }
+    }
     PoStartNextPowerIrp (Irp);
     IoSkipCurrentIrpStackLocation(Irp);
     status =  PoCallDriver (Data->NextLowerDriver, Irp);