[PATCH] i2c: tegra: Fix compile when !CONFIG_OF

Stephen Warren swarren at nvidia.com
Mon Aug 1 14:05:56 EST 2011


Stephen Warren wrote at Thursday, July 21, 2011 9:42 AM:
> Grant Likely wrote at Wednesday, July 13, 2011 4:48 PM:
> > On Thu, Jul 14, 2011 at 5:36 AM, Stephen Warren <swarren at nvidia.com> wrote:
> > > When !CONFIG_OF, <linux/of.h> doesn't prototype of_get_property(), which
> > > causes i2c-tegra.c to fail to compile. Make the references to this
> > > function conditional to solve this.
> > >
> > > Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ...
> > Acked-by: Grant Likely <grant.likely at secretlab.ca>
> 
> Ben, please can this patch be applied in time for 3.1? Currently, the
> linux-next and next-i2c tree won't compile on Tegra without CONFIG_OF
> enabled.

Ben, can this patch please be pushed for 3.1 to solve the compile problem?

> Also, the other patch I posted titled "i2c: Tegra: Add of_match_table"
> is required for Tegra I2C Device Tree support to be useful. Can that go
> into 3.1 as well?

Ben, can this patch please go into 3.1, since it's logically a missing
part of a patch that's already in 3.1, but got applied too early?

Thanks.

--
nvpublic



More information about the devicetree-discuss mailing list