[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090526143110.6c7b2e5a@pedra.chehab.org>
Date: Tue, 26 May 2009 14:31:10 -0300
From: Mauro Carvalho Chehab <mchehab@...radead.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Paul Mundt <lethal@...ux-sh.org>,
Randy Dunlap <randy.dunlap@...cle.com>,
linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
linux-media@...r.kernel.org, Hans Verkuil <hverkuil@...all.nl>
Subject: Re: [PATCH -next] v4l2: handle unregister for non-I2C builds
Em Fri, 22 May 2009 17:55:54 +1000
Stephen Rothwell <sfr@...b.auug.org.au> escreveu:
> On Fri, 22 May 2009 14:48:47 +0900 Paul Mundt <lethal@...ux-sh.org> wrote:
> >
> > On Mon, May 11, 2009 at 09:37:41AM -0700, Randy Dunlap wrote:
> > > From: Randy Dunlap <randy.dunlap@...cle.com>
> > >
> > > Build fails when CONFIG_I2C=n, so handle that case in the if block:
> > >
> > > drivers/built-in.o: In function `v4l2_device_unregister':
> > > (.text+0x157821): undefined reference to `i2c_unregister_device'
> > >
> > > Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
> >
> > This patch still has not been applied as far as I can tell, and builds
> > are still broken as a result, almost 2 weeks after the fact.
>
> In fact there has been no updates to the v4l-dvb tree at all since
> May 11. Mauro?
Sorry, this email were got by a wrong filtering rule here. Only today I
noticed it.
Anyway, the tree were updated yesterday, with Randy's patch. Sorry for the mess.
>
> I have reverted the patch that caused the build breakage ... (commit
> d5bc7940d39649210f1affac1fa32f253cc45a81 "V4L/DVB (11673): v4l2-device:
> unregister i2c_clients when unregistering the v4l2_device").
>
> [By the way, an alternative fix might be to just define
> V4L2_SUBDEV_FL_IS_I2C to be zero if CONFIG_I2C and CONFIG_I2C_MODULE are
> not defined (gcc should then just elide the offending code).]
Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists