From: Randy Dunlap Date: Mon, 12 Nov 2012 17:20:49 +0000 (-0800) Subject: mfd: Fix stmpe.c build when OF is not enabled X-Git-Tag: v3.8-rc1~85^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20d5c7defc228cdaeff3ce3442f3a4e86af293c1;p=pandora-kernel.git mfd: Fix stmpe.c build when OF is not enabled Fix build errors when CONFIG_OF is not enabled by including (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 Acked-by: Linus Walleij Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed