linux-next: build failure after merge of the i2c tree

From: Stephen Rothwell
Date: Thu Jan 15 2015 - 21:23:07 EST


Hi Wolfram,

After merging the i2c tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/i2c/i2c-core.c: In function 'i2c_unregister_device':
drivers/i2c/i2c-core.c:1016:3: error: implicit declaration of function 'of_node_clear_flag' [-Werror=implicit-function-declaration]
of_node_clear_flag(client->dev.of_node, OF_POPULATED);
^
drivers/i2c/i2c-core.c:1016:43: error: 'OF_POPULATED' undeclared (first use in this function)
of_node_clear_flag(client->dev.of_node, OF_POPULATED);
^

Caused by commit d5285c36e6d2 ("i2c: Mark instantiated device nodes
with OF_POPULATE").

I have used the version of the i2c tree from next-20150115 for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp8vbfjYK5An.pgp
Description: OpenPGP digital signature