IB/core cleanup: Add const on args - device->process_mad
[linux-2.6-block.git] / include / rdma / ib_verbs.h
index f19739adf80d126c627973ebe86ba2d1eb3091e8..48c9acbea53e0d6cd99be45718e89e92cc36494a 100644 (file)
@@ -1690,9 +1690,9 @@ struct ib_device {
        int                        (*process_mad)(struct ib_device *device,
                                                  int process_mad_flags,
                                                  u8 port_num,
-                                                 struct ib_wc *in_wc,
-                                                 struct ib_grh *in_grh,
-                                                 struct ib_mad *in_mad,
+                                                 const struct ib_wc *in_wc,
+                                                 const struct ib_grh *in_grh,
+                                                 const struct ib_mad *in_mad,
                                                  struct ib_mad *out_mad);
        struct ib_xrcd *           (*alloc_xrcd)(struct ib_device *device,
                                                 struct ib_ucontext *ucontext,