Subject: Re: linux-next: Tree for May 29 (drivers/power/twl4030_charger)

From: Randy Dunlap <[email-masked]>
Date: Fri, 29 May 2015 09:55:27 -0700

On 05/29/15 05:18, Stephen Rothwell wrote:
> Hi all,
> Changes since 20150528:

on i386:
when CONFIG_USB_SUPPORT is not enabled:

../drivers/power/twl4030_charger.c: In function 'twl4030_bci_probe':
../drivers/power/twl4030_charger.c:648:4: 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 integer without a cast [enabled by default]
    bci->transceiver = devm_usb_get_phy_by_node(
                     ^

Should this driver depend on USB_SUPPORT?

-- 
~Randy