Re: [PATCH v1 net-next] net: phy: Drop #inclusion of <linux/mod_devicetable.h> from <linux/mdio.h>
From: Uwe Kleine-König (The Capable Hub)
Date: Wed Jul 08 2026 - 07:03:10 EST
On Tue, Jul 07, 2026 at 02:10:56PM +0200, Andrew Lunn wrote:
> 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/
That's great.
> 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.
Ah, indeed. After 995832b2cebe6969d1b42635db698803ee31294d and its
parent there are not many left affecting netdev. But ack, I will wait a
bit before tackling drivers/net/wireless/intel/iwlwifi/iwl-config.h
(which is the only remaining user of <linux/mod_devicetable.h> in
drivers/net).
Best regards
Uwe
Attachment:
signature.asc
Description: PGP signature