Re: [PATCH RFC 02/13] of: add a dummy inline function for when CONFIG_OF is not defined

2012-12-11 Thread Grant Likely
On Mon, 10 Dec 2012 20:41:28 +0100, Sylwester Nawrocki wrote: > From: Guennadi Liakhovetski > > If CONFIG_OF isn't defined, no declaration of of_get_parent will be found > and compilation can fail. This patch adds a dummy inline function > definition to fix the problem. Where is this function

[PATCH RFC 02/13] of: add a dummy inline function for when CONFIG_OF is not defined

2012-12-10 Thread Sylwester Nawrocki
From: Guennadi Liakhovetski If CONFIG_OF isn't defined, no declaration of of_get_parent will be found and compilation can fail. This patch adds a dummy inline function definition to fix the problem. Signed-off-by: Guennadi Liakhovetski --- include/linux/of.h |5 + 1 file changed, 5 ins