summaryrefslogtreecommitdiffstats
path: root/drivers/parisc
diff options
context:
space:
mode:
authorKyle McMartin <kyle@parisc-linux.org>2006-08-24 21:31:41 -0400
committerMatthew Wilcox <willy@parisc-linux.org>2006-10-04 06:49:44 -0600
commitb0eecc4da9c0a5261711e0d83280fd5d1e3db742 (patch)
tree3bebe40ae9461c03898b75751dbb41e0f37b7af7 /drivers/parisc
parent1b240f415f42204ff5a885c1c552b26a2ee780a1 (diff)
downloadop-kernel-dev-b0eecc4da9c0a5261711e0d83280fd5d1e3db742.zip
op-kernel-dev-b0eecc4da9c0a5261711e0d83280fd5d1e3db742.tar.gz
[PARISC] Stash the lba_device in its struct device drvdata
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'drivers/parisc')
-rw-r--r--drivers/parisc/lba_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/parisc/lba_pci.c b/drivers/parisc/lba_pci.c
index 33d1806..a596dbc 100644
--- a/drivers/parisc/lba_pci.c
+++ b/drivers/parisc/lba_pci.c
@@ -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;
OpenPOWER on IntegriCloud