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

From: Stephen Rothwell
Date: Tue Aug 13 2013 - 04:17:38 EST


Hi all,

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

drivers/usb/phy/phy-am335x-control.c: In function 'am335x_control_usb_probe':
drivers/usb/phy/phy-am335x-control.c:117:2: error: implicit declaration of function 'IS_ERR' [-Werror=implicit-function-declaration]
if (IS_ERR(ctrl_usb->phy_reg))
^
drivers/usb/phy/phy-am335x-control.c:118:3: error: implicit declaration of function 'PTR_ERR' [-Werror=implicit-function-declaration]
return PTR_ERR(ctrl_usb->phy_reg);
^

Caused by commit 3bb869c8b3f1 ("usb: phy: Add AM335x PHY driver") from
the usb-gadget tree. Forgot to include linux/err.h.

I have reverted that commit for today.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature