IB/core: Move SM class defines from ib_mad.h to ib_smi.h
authorIra Weiny <ira.weiny@intel.com>
Thu, 3 Sep 2015 18:16:30 +0000 (14:16 -0400)
committerDoug Ledford <dledford@redhat.com>
Thu, 3 Sep 2015 19:50:32 +0000 (15:50 -0400)
commit0629cb06cdf8f1a403ce71bce5b83380ae898e1a
treed67a83406efe9966f7c72041213ab08c1a6d9816
parentce755c9b01e09ee4907cf79bd0f57fa5cf65c4c3
IB/core: Move SM class defines from ib_mad.h to ib_smi.h

When the hfi1 driver was added these definitions were moved from the qib driver
to ib_mad.h to be used by both qib and hfi1.  They should have been moved to
ib_smi.h instead.

Fixes: d4ab347005fb ("IB/core: Add core header changes needed for OPA")
Reviewed-by: Hal Rosenstock <hal@mellanox.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qib/qib_ruc.c
include/rdma/ib_mad.h
include/rdma/ib_smi.h