summaryrefslogtreecommitdiffstats
path: root/net/dsa
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 14:55:30 -0400
commit402f99e550c6f7df835dde707920038591384d20 (patch)
tree90e1136b909eff07b7d1d66e9faf4c8d16624861 /net/dsa
parent477edb7806b652043750aa33c584b9838a7c2123 (diff)
downloadlinux-402f99e550c6f7df835dde707920038591384d20.tar.bz2
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')
-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"