From: Kyle McMartin Date: Fri, 25 Aug 2006 01:31:41 +0000 (-0400) Subject: [PARISC] Stash the lba_device in its struct device drvdata X-Git-Tag: v2.6.19-rc1~34^2~12 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0eecc4da9c0a5261711e0d83280fd5d1e3db742;p=linux-2.6 [PARISC] Stash the lba_device in its struct device drvdata Signed-off-by: Kyle McMartin --- diff --git a/drivers/parisc/lba_pci.c b/drivers/parisc/lba_pci.c index 33d1806a39..a596dbc804 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;