[i2c] [patch 2.6.25-rc8] i2c: fix platform driver hotplug/coldplug

David Brownell david-b at pacbell.net
Thu Apr 10 18:49:09 CEST 2008


On Thursday 10 April 2008, Jean Delvare wrote:
> On Wed, 9 Apr 2008 13:54:07 -0700, David Brownell wrote:
> > From: Kay Sievers <kay.sievers at vrfy.org>
> > 
> > Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform
> > modalias is prefixed with "platform:". Add MODULE_ALIAS() to the
> > hotpluggable I2C platform drivers, to allow module auto loading.
> > 
> > [ db: add some more drivers ]
> > 
> > Signed-off-by: Kay Sievers <kay.sievers at vrfy.org>
> > Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
> > ---
> >  drivers/i2c/busses/...
> >  17 files changed, 29 insertions(+), 1 deletion(-)
> 
> <snip>
> 
> OK... Is this a regression we need to fix in 2.6.25, or can this patch
> wait until 2.6.26?

It was a regresssion as of 2.6.24, for 200+ drivers;
every platform_bus driver used have hotplug/coldplug
support, but that patch stopped that from working.

The thing is, that had only been working for a few
releases at that time, so not many folk were relying
on it yet.  They would just have been able to start
doing so when that mechanism stopped working.

So I can't see a rush to get this into 2.6.25 now.
I think the 200+ drivers will hotplug/coldplug again
in 2.6.26 ... I've pushed almost a hundred such driver
updates by now (sigh).

- Dave





More information about the i2c mailing list