mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 15:41:36 +00:00
[PARISC] Stash the lba_device in its struct device drvdata
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
parent
1b240f415f
commit
b0eecc4da9
@ -1604,6 +1604,7 @@ lba_driver_probe(struct parisc_device *dev)
|
|||||||
lba_dev->hba.dev = dev;
|
lba_dev->hba.dev = dev;
|
||||||
lba_dev->iosapic_obj = tmp_obj; /* save interrupt handle */
|
lba_dev->iosapic_obj = tmp_obj; /* save interrupt handle */
|
||||||
lba_dev->hba.iommu = sba_get_iommu(dev); /* get iommu data */
|
lba_dev->hba.iommu = sba_get_iommu(dev); /* get iommu data */
|
||||||
|
parisc_set_drvdata(dev, lba_dev);
|
||||||
|
|
||||||
/* ------------ Second : initialize common stuff ---------- */
|
/* ------------ Second : initialize common stuff ---------- */
|
||||||
pci_bios = &lba_bios_ops;
|
pci_bios = &lba_bios_ops;
|
||||||
|
Loading…
Reference in New Issue
Block a user