[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9b722328efd90104d0c0819f530c296213c19450.camel@sipsolutions.net>
Date: Fri, 20 Nov 2020 23:28:28 +0100
From: Johannes Berg <johannes@...solutions.net>
To: Jakub Kicinski <kuba@...nel.org>, davem@...emloft.net
Cc: netdev@...r.kernel.org, andrew@...n.ch, mkubecek@...e.cz,
linux-rdma@...r.kernel.org, linux-wireless@...r.kernel.org
Subject: Re: [PATCH net-next] net: don't include ethtool.h from netdevice.h
On Fri, 2020-11-20 at 14:13 -0800, 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.
> include/net/cfg80211.h | 1 +
Sounds good to me, thanks. Will still cause all wireless drivers to
rebuild this way though. Maybe I'll see later if something can be done
about that.
Acked-by: Johannes Berg <johannes@...solutions.net>
Thanks,
johannes
Powered by blists - more mailing lists