RDMA/cma: Export enum cma_state in <rdma/rdma_cm.h>
authorNir Muchtar <nirm@voltaire.com>
Fri, 20 May 2011 18:46:11 +0000 (11:46 -0700)
committerRoland Dreier <roland@purestorage.com>
Wed, 25 May 2011 20:46:22 +0000 (13:46 -0700)
commit550e5ca77e96989c5e19f60e017205b2bcc615a5
treeac2a52507f095a476875eab4ead8957655671bc3
parentb2cbae2c248776d81cc265ff7d48405b6a4cc463
RDMA/cma: Export enum cma_state in <rdma/rdma_cm.h>

Move cma.c's internal definition of enum cma_state to enum rdma_cm_state
in an exported header so that it can be exported via RDMA netlink.

Signed-off-by: Nir Muchtar <nirm@voltaire.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/cma.c
include/rdma/rdma_cm.h