Commit 03c84d71 authored by Patrick Mochel's avatar Patrick Mochel

Merge

parents a43b9aa9 8ab1bc19
...@@ -448,6 +448,7 @@ struct pci_dev * __devinit pci_scan_device(struct pci_dev *temp) ...@@ -448,6 +448,7 @@ struct pci_dev * __devinit pci_scan_device(struct pci_dev *temp)
/* now put in global tree */ /* now put in global tree */
strcpy(dev->dev.bus_id,dev->slot_name); strcpy(dev->dev.bus_id,dev->slot_name);
dev->dev.dma_mask = &dev->dma_mask;
device_register(&dev->dev); device_register(&dev->dev);
return dev; return dev;
......
...@@ -270,6 +270,7 @@ struct device { ...@@ -270,6 +270,7 @@ struct device {
being off. */ being off. */
unsigned char *saved_state; /* saved device state */ unsigned char *saved_state; /* saved device state */
u64 *dma_mask; /* dma mask (if dma'able device) */
void (*release)(struct device * dev); void (*release)(struct device * dev);
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment