mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:45:50 +00:00
Fix for bug #932 (should go into 0.2.9 also)
svn path=/trunk/; revision=20041
This commit is contained in:
parent
b1a1d2bbbb
commit
e1624c6a81
2 changed files with 5 additions and 2 deletions
|
@ -312,7 +312,7 @@ ohci_dbg (ohci, "sleeping = %d, disabled = %d\n",
|
|||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
static const struct hc_driver ohci_pci_hc_driver = {
|
||||
static struct hc_driver ohci_pci_hc_driver = {
|
||||
.description = hcd_name,
|
||||
|
||||
/*
|
||||
|
|
|
@ -458,7 +458,10 @@ static inline void usbfs_add_device(struct usb_device *dev)
|
|||
if (dev->parent)
|
||||
{
|
||||
PDEVICE_OBJECT Pdo = (PDEVICE_OBJECT)dev->parent->dev.dev_ext;
|
||||
IoInvalidateDeviceRelations(Pdo, BusRelations);
|
||||
if (Pdo)
|
||||
IoInvalidateDeviceRelations(Pdo, BusRelations);
|
||||
else
|
||||
DPRINT1("Pdo == NULL, not sending IoInvalidateDeviceRelations()!");
|
||||
}
|
||||
}
|
||||
static inline void usbfs_remove_device(struct usb_device *dev) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue