diff options
| author | Jakub Kicinski <[email protected]> | 2020-11-20 22:50:52 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-11-24 01:27:04 +0000 |
| commit | cc69837fcaf467426ca19e5790085c26146a2300 (patch) | |
| tree | 94d2635912fdbe8873a928760551ac112a67115c /drivers/net/ipvlan/ipvlan_main.c | |
| parent | net: pch_gbe: Use 'dma_free_coherent()' to undo 'dma_alloc_coherent()' (diff) | |
| download | kernel-cc69837fcaf467426ca19e5790085c26146a2300.tar.gz kernel-cc69837fcaf467426ca19e5790085c26146a2300.zip | |
net: don't include ethtool.h from netdevice.h
linux/netdevice.h is included in very many places, touching any
of its dependecies causes large incremental builds.
Drop the linux/ethtool.h include, linux/netdevice.h just needs
a forward declaration of struct ethtool_ops.
Fix all the places which made use of this implicit include.
Acked-by: Johannes Berg <[email protected]>
Acked-by: Shannon Nelson <[email protected]>
Reviewed-by: Jesse Brandeburg <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ipvlan/ipvlan_main.c')
| -rw-r--r-- | drivers/net/ipvlan/ipvlan_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ipvlan/ipvlan_main.c b/drivers/net/ipvlan/ipvlan_main.c index 60b7d93bb834..a707502a0c0f 100644 --- a/drivers/net/ipvlan/ipvlan_main.c +++ b/drivers/net/ipvlan/ipvlan_main.c @@ -2,6 +2,8 @@ /* Copyright (c) 2014 Mahesh Bandewar <[email protected]> */ +#include <linux/ethtool.h> + #include "ipvlan.h" static int ipvlan_set_port_mode(struct ipvl_port *port, u16 nval, |
