summaryrefslogtreecommitdiffstats
path: root/drivers/parisc/lba_pci.c
diff options
context:
space:
mode:
authorKyle McMartin <kyle@parisc-linux.org>2006-08-25 03:31:41 +0200
committerMatthew Wilcox <willy@parisc-linux.org>2006-10-04 14:49:44 +0200
commitb0eecc4da9c0a5261711e0d83280fd5d1e3db742 (patch)
tree3bebe40ae9461c03898b75751dbb41e0f37b7af7 /drivers/parisc/lba_pci.c
parent[PARISC] Generalize IS_ASTRO et al to take a parisc_device like (diff)
downloadlinux-b0eecc4da9c0a5261711e0d83280fd5d1e3db742.tar.xz
linux-b0eecc4da9c0a5261711e0d83280fd5d1e3db742.zip
[PARISC] Stash the lba_device in its struct device drvdata
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'drivers/parisc/lba_pci.c')
-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 33d1806a39cc..a596dbc804a3 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;