linux-next: build failure after merge of the final tree (regulatortree related)

From: Stephen Rothwell
Date: Mon Apr 16 2012 - 01:53:13 EST


Hi all,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/regulator/da9052-regulator.c: In function 'da9052_regulator_probe':
drivers/regulator/da9052-regulator.c:442:3: error: implicit declaration of function 'of_find_node_by_name' [-Werror=implicit-function-declaration]
drivers/regulator/da9052-regulator.c:442:10: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/regulator/da9052-regulator.c:446:3: error: implicit declaration of function 'of_get_next_child' [-Werror=implicit-function-declaration]
drivers/regulator/da9052-regulator.c:446:11: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/regulator/da9052-regulator.c:447:11: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/regulator/da9052-regulator.c:448:4: error: implicit declaration of function 'of_node_cmp' [-Werror=implicit-function-declaration]
drivers/regulator/da9052-regulator.c:448:23: error: dereferencing pointer to incomplete type
cc1: some warnings being treated as errors

Caused by commit 88c84c14cca4 ("regulator: da9052: add device tree support").

I have reverted that commit for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature