Re: [PATCH v1 net-next] net: phy: Drop #inclusion of <linux/mod_devicetable.h> from <linux/mdio.h>
From: Andrew Lunn
Date: Tue Jul 07 2026 - 08:30:44 EST
On Tue, Jul 07, 2026 at 09:15:35AM +0200, Uwe Kleine-König (The Capable Hub) wrote:
> Hello Andrew,
>
> On Mon, Jul 06, 2026 at 11:28:33PM +0200, Andrew Lunn wrote:
> > > That's exactly my thought, and there is commit ad428f5811bd
> > > ("mod_devicetable.h: Split into per subsystem headers") that is part of
> > > v7.2-rc2 and that does exactly that (apart from the filename).
> >
> > Ah, O.K. net-next tends to great dragged along the -rcX versions. So
> > you can probably submit the networking changes in a weeks time. Just
> > make sure they apply to
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git
>
> Note that while I created the patch under discussion on top of -rc2, the
> justification is also valid on -rc1 and the patch doesn't use the new
> headers, so it can be applied to the above repo already now.
Yes, our patchwork instance and its CI agree:
https://patchwork.kernel.org/project/netdevbpf/patch/ca270a534d0f230a939a3fb4a661808b35d6436d.1783329817.git.u.kleine-koenig@xxxxxxxxxxxx/
but i was actually meaning the patches which swaps to the broken out
header with only struct mdio_device_id. I assume that patch is the one
which really reduces the number of files which get recompiled on
unrelated changes. That patch can be submitted to netdev probably next
week.
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew