diff mbox series

[net-next,03/11] dsa: add missing net/devlink.h include

Message ID 20190321132019.1426-4-jiri@resnulli.us
State Changes Requested
Delegated to: David Miller
Headers show
Series devlink: small spring cleanup | expand

Commit Message

Jiri Pirko March 21, 2019, 1:20 p.m. UTC
From: Jiri Pirko <jiri@mellanox.com>

devlink functions are in use, so include the related header file.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
---
 net/dsa/dsa2.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Andrew Lunn March 21, 2019, 2:12 p.m. UTC | #1
On Thu, Mar 21, 2019 at 02:20:11PM +0100, Jiri Pirko wrote:
> From: Jiri Pirko <jiri@mellanox.com>
> 
> 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>

    Andrew
diff mbox series

Patch

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"