From: Mark Brown Date: Thu, 30 Mar 2017 14:56:01 +0000 (+0100) Subject: IB/hns: Explicitly include linux/of.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cd6ce4a5737829052abc4ffc8befd0adfff8998d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v1.c b/drivers/infiniband/hw/hns/hns_roce_hw_v1.c index b8111b0c8877..5c48dbf43c1a 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"