- Return the DEVICE_OBJECT we got instead of NULL

svn path=/trunk/; revision=42126
This commit is contained in:
Cameron Gutman
2009-07-22 02:06:50 +00:00
parent b63b5ba1fb
commit ab3c1cfd2c
3 changed files with 3 additions and 3 deletions
@@ -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