aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2011-05-10 12:36:01 -0700
committerRoland Dreier <roland@purestorage.com>2011-05-25 13:46:23 -0700
commit9a7147b506ccae8552b0cf218b3c02982012eb4d (patch)
treeb5045b85c90790fbb74671d0e0e2caf6bfa2733e
parentRDMA/cma: Export enum cma_state in <rdma/rdma_cm.h> (diff)
downloadlinux-dev-9a7147b506ccae8552b0cf218b3c02982012eb4d.tar.xz
linux-dev-9a7147b506ccae8552b0cf218b3c02982012eb4d.zip
RDMA: Update exported headers list
Various RDMA headers are intended to be exported to userspace, so add them to the headers-y list. Add a (strictly speaking, superfluous) include of <linux/types.h> to avoid a headers_check warning. Signed-off-by: Roland Dreier <roland@purestorage.com>
-rw-r--r--include/rdma/Kbuild5
-rw-r--r--include/rdma/ib_user_cm.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/include/rdma/Kbuild b/include/rdma/Kbuild
index e7c043216558..ea56f76c0c22 100644
--- a/include/rdma/Kbuild
+++ b/include/rdma/Kbuild
@@ -1 +1,6 @@
+header-y += ib_user_cm.h
header-y += ib_user_mad.h
+header-y += ib_user_sa.h
+header-y += ib_user_verbs.h
+header-y += rdma_netlink.h
+header-y += rdma_user_cm.h
diff --git a/include/rdma/ib_user_cm.h b/include/rdma/ib_user_cm.h
index bd3d380781e0..f79014aa28f9 100644
--- a/include/rdma/ib_user_cm.h
+++ b/include/rdma/ib_user_cm.h
@@ -34,6 +34,7 @@
#ifndef IB_USER_CM_H
#define IB_USER_CM_H
+#include <linux/types.h>
#include <rdma/ib_user_sa.h>
#define IB_USER_CM_ABI_VERSION 5