1
0
Fork 0

[PARISC] Stash the lba_device in its struct device drvdata

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
hifive-unleashed-5.1
Kyle McMartin 2006-08-24 21:31:41 -04:00 committed by Matthew Wilcox
parent 1b240f415f
commit b0eecc4da9
1 changed files with 1 additions and 0 deletions

View File

@ -1604,6 +1604,7 @@ lba_driver_probe(struct parisc_device *dev)
lba_dev->hba.dev = dev;
lba_dev->iosapic_obj = tmp_obj; /* save interrupt handle */
lba_dev->hba.iommu = sba_get_iommu(dev); /* get iommu data */
parisc_set_drvdata(dev, lba_dev);
/* ------------ Second : initialize common stuff ---------- */
pci_bios = &lba_bios_ops;