From: Mike Marciniszyn Date: Thu, 11 Apr 2019 14:16:00 +0000 (-0700) Subject: IB/hfi1: Make opfn.h self sufficient X-Git-Tag: v5.15~6359^2~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62644c1d2bb7c8f7ec259e45a123dca6bbaa0f7b;p=platform%2Fkernel%2Flinux-starfive.git IB/hfi1: Make opfn.h self sufficient The opfn.h include file build-ablility depends on the including file having the correct includes. Fix by making opfn.h self sufficient. Reviewed-by: Kaike Wan Signed-off-by: Mike Marciniszyn Signed-off-by: Dennis Dalessandro Signed-off-by: Jason Gunthorpe --- diff --git a/drivers/infiniband/hw/hfi1/opfn.h b/drivers/infiniband/hw/hfi1/opfn.h index 5f2011c..62f93c1 100644 --- a/drivers/infiniband/hw/hfi1/opfn.h +++ b/drivers/infiniband/hw/hfi1/opfn.h @@ -47,12 +47,14 @@ * for future transactions */ +#include +#include +#include + /* STL Verbs Extended */ #define IB_BTHE_E_SHIFT 24 #define HFI1_VERBS_E_ATOMIC_VADDR U64_MAX -struct ib_atomic_eth; - enum hfi1_opfn_codes { STL_VERBS_EXTD_NONE = 0, STL_VERBS_EXTD_TID_RDMA,