[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aday7a4jrlx.fsf@cisco.com>
Date: Fri, 01 Feb 2008 13:26:18 -0800
From: Roland Dreier <rdreier@...co.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: linux-kernel@...r.kernel.org,
Mauro Carvalho Chehab <mchehab@...radead.org>,
Hans Verkuil <hverkuil@...all.nl>
Subject: Re: [build bug] undefined reference to `i2c_attach_client'
> > randconfig testing found the following build bug in latest -git:
> >
> > drivers/built-in.o: In function `v4l2_i2c_attach':
> > : undefined reference to `i2c_attach_client'
I hit this too -- it seems that commit 8ffbc655 ("V4L/DVB (6451):
v4l2: add support for bus-based I2C drivers"), which added
v4l2_i2c_attach() without adding any dependency on CONFIG_I2C. Not
sure what the correct fix is -- either CONFIG_VIDEO_DEV needs to
select/depend on CONFIG_I2C, or v4l2_i2c_attach() should only be built
if CONFIG_I2C is on.
--
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