Re: randconfig build error with next-20150528, in drivers/power/twl4030_charger.c

From: Sebastian Reichel
Date: Thu May 28 2015 - 13:57:36 EST


Hi,

[+CC NeilBrown]
[+CC Felipe Balbi]

On Thu, May 28, 2015 at 10:05:55AM -0700, Jim Davis wrote:
> drivers/power/twl4030_charger.c: In function âtwl4030_bci_probeâ:
> drivers/power/twl4030_charger.c:648:23: error: implicit declaration of function
> âdevm_usb_get_phy_by_nodeâ [-Werror=implicit-function-declaration]
> bci->transceiver = devm_usb_get_phy_by_node(
> ^
> drivers/power/twl4030_charger.c:648:21: warning: assignment makes pointer from i
> nteger without a cast [-Wint-conversion]
> bci->transceiver = devm_usb_get_phy_by_node(
> ^

This has been introduced by the following commit from Neil Brown:

power: twl4030_charger: find associated phy by more reliable means.

-- Sebastian

Attachment: signature.asc
Description: Digital signature