]> err.no Git - linux-2.6/commitdiff
[PARISC] Stash the lba_device in its struct device drvdata
authorKyle McMartin <kyle@parisc-linux.org>
Fri, 25 Aug 2006 01:31:41 +0000 (21:31 -0400)
committerMatthew Wilcox <willy@parisc-linux.org>
Wed, 4 Oct 2006 12:49:44 +0000 (06:49 -0600)
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
drivers/parisc/lba_pci.c

index 33d1806a39ccb0c31a8f8ed7806d0a0da0389c8a..a596dbc804a3aa7fe70dcd2109ee31d10d0446d4 100644 (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;