diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2019-07-09 14:44:47 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-07-09 14:44:47 +0200 |
commit | 390d57728d8e6f7283030cb20d3b5459771a32f1 (patch) | |
tree | fe752ae1f3bc33af1ff983555e9ec6d622d9c8d0 /include/rdma/rdma_counter.h | |
parent | IB/core: Work on the caller socket net namespace in nldev_newlink() (diff) | |
download | linux-390d57728d8e6f7283030cb20d3b5459771a32f1.tar.xz linux-390d57728d8e6f7283030cb20d3b5459771a32f1.zip |
RDMA/core: Make rdma_counter.h compile stand alone
5.4-rc1 will have new compile time debugging to test that headers can be
compiled stand alone. Many rdma headers are already broken and excluded
from the mechanism, however to avoid compile failures during the merge
window fix enough so that the newly added header compiles clean.
Fixes: 413d3347503b ("RDMA/counter: Add set/clear per-port auto mode support")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Mark Zhang <markz@mellanox.com>
Diffstat (limited to 'include/rdma/rdma_counter.h')
-rw-r--r-- | include/rdma/rdma_counter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/rdma_counter.h b/include/rdma/rdma_counter.h index 68827700ba95..eb99856e8b30 100644 --- a/include/rdma/rdma_counter.h +++ b/include/rdma/rdma_counter.h @@ -9,10 +9,10 @@ #include <linux/mutex.h> #include <linux/pid_namespace.h> -#include <rdma/ib_verbs.h> #include <rdma/restrack.h> #include <rdma/rdma_netlink.h> +struct ib_device; struct ib_qp; struct auto_mode_param { |