IB/Verbs: Implement new callback query_protocol()
[sfrench/cifs-2.6.git] / drivers / infiniband / hw / ehca / ehca_main.c
index cd8d290a09fc2029f5542660c42e652b9216fe3e..321545b708adc68ddbc7f925f79638af1f75af7b 100644 (file)
@@ -467,6 +467,7 @@ static int ehca_init_device(struct ehca_shca *shca)
        shca->ib_device.dma_device          = &shca->ofdev->dev;
        shca->ib_device.query_device        = ehca_query_device;
        shca->ib_device.query_port          = ehca_query_port;
+       shca->ib_device.query_protocol      = ehca_query_protocol;
        shca->ib_device.query_gid           = ehca_query_gid;
        shca->ib_device.query_pkey          = ehca_query_pkey;
        /* shca->in_device.modify_device    = ehca_modify_device    */