svn path=/trunk/; revision=20041
/*-------------------------------------------------------------------------*/
-static const struct hc_driver ohci_pci_hc_driver = {
+static struct hc_driver ohci_pci_hc_driver = {
.description = hcd_name,
/*
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) {}