linux-next: build failure after merge of the final tree (mfd treerelated)

From: Stephen Rothwell
Date: Tue Jun 18 2013 - 03:20:18 EST


Hi all,

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

drivers/mfd/88pm800.c: In function 'pm800_pages_init':
drivers/mfd/88pm800.c:434:2: error: implicit declaration of function 'IS_ERR' [-Werror=implicit-function-declaration]
if (IS_ERR(subchip->regmap_power)) {
^
drivers/mfd/88pm800.c:435:3: error: implicit declaration of function 'PTR_ERR' [-Werror=implicit-function-declaration]
ret = PTR_ERR(subchip->regmap_power);
^

Caused by commit f8ca616f67f7 ("mfd: 88pm800: Enhance error handling for
sub pages probe/remove") from the mfd tree. Forgot to include
linux/err.h (see Rule 1 in Documentation/SubmitChecklist).

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

Attachment: pgp00000.pgp
Description: PGP signature