summaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa2.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-03-24 11:14:26 +0100
committerDavid S. Miller <davem@davemloft.net>2019-03-24 19:55:30 +0100
commit402f99e550c6f7df835dde707920038591384d20 (patch)
tree90e1136b909eff07b7d1d66e9faf4c8d16624861 /net/dsa/dsa2.c
parentbnxt: add missing net/devlink.h include (diff)
downloadlinux-402f99e550c6f7df835dde707920038591384d20.tar.xz
linux-402f99e550c6f7df835dde707920038591384d20.zip
dsa: add missing net/devlink.h include
devlink functions are in use, so include the related header file. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa2.c')
-rw-r--r--net/dsa/dsa2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dsa/dsa2.c b/net/dsa/dsa2.c
index c00ee464afc7..4558de672b4f 100644
--- a/net/dsa/dsa2.c
+++ b/net/dsa/dsa2.c
@@ -18,6 +18,7 @@
#include <linux/rtnetlink.h>
#include <linux/of.h>
#include <linux/of_net.h>
+#include <net/devlink.h>
#include "dsa_priv.h"