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                    s...@canb.auug.org.au

Attachment: pgpYYlBnzWGwm.pgp
Description: PGP signature

Reply via email to