From cd6ce4a5737829052abc4ffc8befd0adfff8998d Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Thu, 30 Mar 2017 15:56:01 +0100 Subject: [PATCH] IB/hns: Explicitly include linux/of.h hns_roce_hw_v1.c uses DT interfaces but relies on implict inclusion of linux/of.h which means that changes in other headers could break the build, as happened in -next for arm64 today. Add an explicit include. Signed-off-by: Mark Brown Signed-off-by: Doug Ledford --- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v1.c b/drivers/infiniband/hw/hns/hns_roce_hw_v1.c index b8111b0..5c48dbf 100644 --- a/drivers/infiniband/hw/hns/hns_roce_hw_v1.c +++ b/drivers/infiniband/hw/hns/hns_roce_hw_v1.c @@ -33,6 +33,7 @@ #include #include #include +#include #include #include "hns_roce_common.h" #include "hns_roce_device.h" -- 2.7.4