Skip to content
Snippets Groups Projects
Commit cc69837f authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

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: default avatarJohannes Berg <johannes@sipsolutions.net>
Acked-by: default avatarShannon Nelson <snelson@pensando.io>
Reviewed-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
Link: https://lore.kernel.org/r/20201120225052.1427503-1-kuba@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 7fd6372e
No related branches found
No related tags found
Loading
Showing
with 23 additions and 0 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment