Re: [PATCH] IB/hns: include linux/of.h to fix build failure

2017-04-05 Thread Doug Ledford
On 4/4/2017 9:36 AM, Tobias Regnery wrote: > I see the following build error in an arm64 randconfig build: > > drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_v1_reset': > drivers/infiniband/hw/hns/hns_roce_hw_v1.c:1384:15: error: implicit > declaration of function 'of_parse_pha

[PATCH] IB/hns: include linux/of.h to fix build failure

2017-04-04 Thread Tobias Regnery
I see the following build error in an arm64 randconfig build: drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_v1_reset': drivers/infiniband/hw/hns/hns_roce_hw_v1.c:1384:15: error: implicit declaration of function 'of_parse_phandle' [-Werror=implicit-function-declaration] Fix th