Thread (1 message) 1 message, 1 author, 2011-07-21

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

From: Stephen Warren <hidden>
Date: 2011-07-21 15:42:06
Also in: linux-i2c, linux-tegra

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help