[i2c] [patch 1/1] i2c_gpio: keep probe resident for hotplugged devices.
Ben Dooks
ben-linux at fluff.org
Thu Jul 10 15:29:17 CEST 2008
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.
--
Ben (ben at fluff.org, http://www.fluff.org/)
'a smiley only costs 4 bytes'
More information about the i2c
mailing list