projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6
[powerpc.git]
/
drivers
/
infiniband
/
core
/
sysfs.c
diff --git
a/drivers/infiniband/core/sysfs.c
b/drivers/infiniband/core/sysfs.c
index
000c086
..
08c299e
100644
(file)
--- a/
drivers/infiniband/core/sysfs.c
+++ b/
drivers/infiniband/core/sysfs.c
@@
-683,6
+683,7
@@
int ib_device_register_sysfs(struct ib_device *device)
class_dev->class = &ib_class;
class_dev->class_data = device;
+ class_dev->dev = device->dma_device;
strlcpy(class_dev->class_id, device->name, BUS_ID_SIZE);
INIT_LIST_HEAD(&device->port_list);