mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Return the DEVICE_OBJECT we got instead of NULL
svn path=/trunk/; revision=42126
This commit is contained in:
@@ -3482,7 +3482,7 @@ ehci_probe(PDRIVER_OBJECT drvr_obj, PUNICODE_STRING reg_path, PUSB_DEV_MANAGER d
|
||||
KeSynchronizeExecution(pdev_ext->ehci_int, ehci_cal_cpu_freq, NULL);
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
return pdev;
|
||||
}
|
||||
|
||||
PDEVICE_OBJECT
|
||||
|
||||
@@ -236,7 +236,7 @@ PDEVICE_OBJECT ohci_probe(PDRIVER_OBJECT drvr_obj, PUNICODE_STRING reg_path,
|
||||
//KeSynchronizeExecution(pdev_ext->ohci_int, ehci_cal_cpu_freq, NULL);
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
return pdev;
|
||||
}
|
||||
|
||||
BOOLEAN ohci_mem_init (POHCI_DEVICE_EXTENSION dev_ext)
|
||||
|
||||
@@ -679,7 +679,7 @@ LBL_LOOPOUT:
|
||||
KeSynchronizeExecution(pdev_ext->uhci_int, uhci_cal_cpu_freq, NULL);
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
return pdev;
|
||||
}
|
||||
|
||||
PDEVICE_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user