Grant Likely wrote at Wednesday, July 13, 2011 4:48 PM:
On Thu, Jul 14, 2011 at 5:36 AM, Stephen Warren [off-list ref] wrote:
quoted
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 <redacted>
...
Acked-by: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
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.
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?
Thanks very much!
--
nvpublic