From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Subject: Re: [patch 1/1] i2c_gpio: keep probe resident for hotplugged devices. Date: Sat, 12 Jul 2008 09:06:00 +0200 Message-ID: <20080712090600.680f3c2e@hyperion.delvare> References: <20080702101611.757880819@fluff.org> <20080702101611.858837181@fluff.org> <20080702124406.2f3d1384@hskinnemo-gx745.norway.atmel.com> <20080710132917.GF30539@fluff.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080710132917.GF30539-elnMNo+KYs3pIgCt6eIbzw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: i2c-bounces-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org Errors-To: i2c-bounces-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org To: Ben Dooks Cc: Haavard Skinnemoen , i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org List-Id: linux-i2c@vger.kernel.org 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 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 _______________________________________________ i2c mailing list i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org http://lists.lm-sensors.org/mailman/listinfo/i2c