mirror of
https://github.com/reactos/reactos.git
synced 2024-08-05 11:00:55 +00:00
- Fix build
svn path=/trunk/; revision=53276
This commit is contained in:
parent
3c5d660a3d
commit
ebcc8d5935
|
@ -425,14 +425,13 @@ HalpQueryResourceRequirements(IN PDEVICE_OBJECT DeviceObject,
|
||||||
OUT PIO_RESOURCE_REQUIREMENTS_LIST *Requirements)
|
OUT PIO_RESOURCE_REQUIREMENTS_LIST *Requirements)
|
||||||
{
|
{
|
||||||
PPDO_EXTENSION DeviceExtension = DeviceObject->DeviceExtension;
|
PPDO_EXTENSION DeviceExtension = DeviceObject->DeviceExtension;
|
||||||
NTSTATUS Status;
|
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
|
|
||||||
/* Only the ACPI PDO has requirements */
|
/* Only the ACPI PDO has requirements */
|
||||||
if (DeviceExtension->PdoType == AcpiPdo)
|
if (DeviceExtension->PdoType == AcpiPdo)
|
||||||
{
|
{
|
||||||
/* Query ACPI requirements */
|
/* Query ACPI requirements */
|
||||||
Status = HalpQueryAcpiResourceRequirements(Requirements);
|
return HalpQueryAcpiResourceRequirements(Requirements);
|
||||||
}
|
}
|
||||||
else if (DeviceExtension->PdoType == WdPdo)
|
else if (DeviceExtension->PdoType == WdPdo)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue