diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_main.c b/drivers/infiniband/hw/ehca/ehca_main.c index 4700085ba834..50e426592d02 100644 --- a/drivers/infiniband/hw/ehca/ehca_main.c +++ b/drivers/infiniband/hw/ehca/ehca_main.c | |||
@@ -569,7 +569,7 @@ static int __devinit ehca_probe(struct ibmebus_dev *dev, | |||
569 | struct ib_pd *ibpd; | 569 | struct ib_pd *ibpd; |
570 | int ret; | 570 | int ret; |
571 | 571 | ||
572 | handle = get_property(dev->ofdev.node, "ibm,hca-handle", NULL); | 572 | handle = of_get_property(dev->ofdev.node, "ibm,hca-handle", NULL); |
573 | if (!handle) { | 573 | if (!handle) { |
574 | ehca_gen_err("Cannot get eHCA handle for adapter: %s.", | 574 | ehca_gen_err("Cannot get eHCA handle for adapter: %s.", |
575 | dev->ofdev.node->full_name); | 575 | dev->ofdev.node->full_name); |