mlxsw: spectrum_ipip: Add a forgotten include
authorPetr Machata <[email protected]>
Tue, 13 Feb 2018 10:26:08 +0000 (11:26 +0100)
committerDavid S. Miller <[email protected]>
Tue, 13 Feb 2018 17:24:28 +0000 (12:24 -0500)
struct ip_tunnel_parm, which is used in spectrum_ipip.h, is defined in
if_tunnel.h. However, the former neglects to include the latter.

Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h

index 04b08d9d76e9361f6dd2848fa2177d2f2b575410..e6c21974a97cd5becf176e8454232933d9d334b7 100644 (file)
@@ -37,6 +37,7 @@
 
 #include "spectrum_router.h"
 #include <net/ip_fib.h>
+#include <linux/if_tunnel.h>
 
 struct ip_tunnel_parm
 mlxsw_sp_ipip_netdev_parms(const struct net_device *ol_dev);