[i2c] [patch 1/1] i2c_gpio: keep probe resident for hotplugged devices.

Jean Delvare khali at linux-fr.org
Sat Jul 12 09:06:00 CEST 2008


Ben,

On Thu, 10 Jul 2008 14:29:17 +0100, Ben Dooks wrote:
> On Wed, Jul 02, 2008 at 12:44:06PM +0200, Haavard Skinnemoen wrote:
> > Ben Dooks <ben-linux at fluff.org> wrote:
> > > Change the i2c_gpio driver to use platform_driver_register()
> > > instead of platform_driver_probe() to ensure that is can
> > > attach to any devices that may be loaded after it has initialised.
> > 
> > Does anyone actually do that?
> 
> At the moment our standard kernel configuration only
> builds in the SM501 which will work without this patch
> on.
> 
> However, we have clients that do build module kernels
> and I would like to replace i2c-simtec.c with the gpio
> driver and if the relevant module instantiating the gpio
> support is loaded post kernel init, then we will need to
> do this.

Should I take this patch in my i2c tree, or will you take it in yours?

-- 
Jean Delvare



More information about the i2c mailing list