Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd6ce4a5 authored by Mark Brown's avatar Mark Brown Committed by Doug Ledford
Browse files

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: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 1e7710f3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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"