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

From: Randy Dunlap
Date: Fri May 29 2015 - 12:55:37 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/