# Re: \[PATCH net-next v2\] net: don't include ethtool.h from netdevice.h

- From: Jesse Brandeburg \<hidden\>
- Date: 2020-11-23 22:41:49 
- List: netdev
- Page: https://ratatoskr.run/netdev/2020/11/11188708
- Thread: https://ratatoskr.run/netdev/2020/11/11188473/t.md

```text
Jakub Kicinski wrote:

> 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 <johannes@sipsolutions.net>
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Reviewed-by: Jesse Brandeburg <redacted>
```
