diff --git a/reactos/drivers/usb/nt4compat/usbdriver/ehci.c b/reactos/drivers/usb/nt4compat/usbdriver/ehci.c index 08642ef853b..54018ffdea3 100644 --- a/reactos/drivers/usb/nt4compat/usbdriver/ehci.c +++ b/reactos/drivers/usb/nt4compat/usbdriver/ehci.c @@ -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 diff --git a/reactos/drivers/usb/nt4compat/usbdriver/ohci.c b/reactos/drivers/usb/nt4compat/usbdriver/ohci.c index 6a6497eca2d..52b58692abd 100644 --- a/reactos/drivers/usb/nt4compat/usbdriver/ohci.c +++ b/reactos/drivers/usb/nt4compat/usbdriver/ohci.c @@ -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) diff --git a/reactos/drivers/usb/nt4compat/usbdriver/uhci.c b/reactos/drivers/usb/nt4compat/usbdriver/uhci.c index 47de1de5687..0b83f294d72 100644 --- a/reactos/drivers/usb/nt4compat/usbdriver/uhci.c +++ b/reactos/drivers/usb/nt4compat/usbdriver/uhci.c @@ -679,7 +679,7 @@ LBL_LOOPOUT: KeSynchronizeExecution(pdev_ext->uhci_int, uhci_cal_cpu_freq, NULL); } } - return NULL; + return pdev; } PDEVICE_OBJECT