* Sync up to trunk head (r64959).
[reactos.git] / drivers / serial / serial / power.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: Serial port driver
4 * FILE: drivers/dd/serial/power.c
5 * PURPOSE: Serial IRP_MJ_POWER operations
6 *
7 * PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
8 */
9
10 #include "serial.h"
11
12 #include <debug.h>
13
14 NTSTATUS NTAPI
15 SerialPower(
16 IN PDEVICE_OBJECT DeviceObject,
17 IN PIRP Irp)
18 {
19 TRACE_(SERIAL, "IRP_MJ_POWER dispatch\n");
20 Irp->IoStatus.Information = 0;
21 Irp->IoStatus.Status = STATUS_SUCCESS;
22 IoCompleteRequest(Irp, IO_NO_INCREMENT);
23 return STATUS_SUCCESS;
24 }