]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
infiniband: class_device fallout
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 22 Apr 2008 00:24:24 +0000 (10:24 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Apr 2008 00:27:40 +0000 (17:27 -0700)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/infiniband/hw/ipath/ipath_verbs.c

index c38f9aa8be8dc000c26124da1477759a5a20fa76..c43f2d286f8fc213131006312c137b5ee784dcdc 100644 (file)
@@ -2067,7 +2067,7 @@ int ipath_register_ib_device(struct ipath_devdata *dd)
        dev->phys_port_cnt = 1;
        dev->num_comp_vectors = 1;
        dev->dma_device = &dd->pcidev->dev;
-       dev->class_dev.dev = dev->dma_device;
+       dev->dev.parent = dev->dma_device;
        dev->query_device = ipath_query_device;
        dev->modify_device = ipath_modify_device;
        dev->query_port = ipath_query_port;