diff options
| author | Mark Brown <[email protected]> | 2017-03-30 15:56:01 +0100 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-04-05 13:45:53 -0400 |
| commit | cd6ce4a5737829052abc4ffc8befd0adfff8998d (patch) | |
| tree | 0d231117ec2df3dc0e604292b8437550f933955d | |
| parent | 1e7710f3f6563940bb6bbc94aa8eadfd344a86af (diff) | |
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 <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
| -rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <linux/platform_device.h> #include <linux/acpi.h> #include <linux/etherdevice.h> +#include <linux/of.h> #include <rdma/ib_umem.h> #include "hns_roce_common.h" #include "hns_roce_device.h" |