On Mon, Nov 12, 2012 at 6:20 PM, Randy Dunlap <rdun...@infradead.org> wrote:

> From: Randy Dunlap <rdun...@infradead.org>
>
> Fix build errors when CONFIG_OF is not enabled by including
> <linux/of.h> (needs to be added in any case).
> An alternative fix could be to make the driver depend on OF.
>
> drivers/mfd/stmpe.c:1025:2: error: implicit declaration of function 
> 'of_property_read_u32'
> drivers/mfd/stmpe.c:1030:2: error: implicit declaration of function 
> 'for_each_child_of_node'
> drivers/mfd/stmpe.c:1030:36: error: expected ';' before '{' token
>
> Signed-off-by: Randy Dunlap <rdun...@infradead.org>
> Cc: Rabin Vincent <rabin.vinc...@stericsson.com>
> Cc: Samuel Ortiz <sa...@linux.intel.com>

Acked-by: Linus Walleij <linus.wall...@linaro.org>

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to