diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-04-22 04:24:24 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-22 04:27:40 +0400 |
commit | 2848077044a5fdeb942bd1342c550da4c452d66a (patch) | |
tree | 37914c75555b7b5d40622ea4f54f685788d40dbc | |
parent | 135cedad7457be6a96d5e151dfd48f7888a75e94 (diff) | |
download | linux-2848077044a5fdeb942bd1342c550da4c452d66a.tar.xz |
infiniband: class_device fallout
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_verbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_verbs.c b/drivers/infiniband/hw/ipath/ipath_verbs.c index c38f9aa8be8d..c43f2d286f8f 100644 --- a/drivers/infiniband/hw/ipath/ipath_verbs.c +++ b/drivers/infiniband/hw/ipath/ipath_verbs.c @@ -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; |