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

From: Pantelis Antoniou
Date: Fri Jan 16 2015 - 02:16:42 EST


Hi Stephen,

> On Jan 16, 2015, at 04:22 , Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> 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.

A patch that fixes it has already been posted.

> --
> Cheers,
> Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
>

Regards

â Pantelis

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