Re: [PATCH 2/3] usb: phy: Add USB charger support
From: kbuild test robot
Date: Tue Jun 27 2017 - 22:45:20 EST
Hi Baolin,
[auto build test ERROR on balbi-usb/next]
[also build test ERROR on next-20170627]
[cannot apply to v4.12-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Baolin-Wang/include-uapi-usb-Introduce-USB-charger-type-and-state-definition/20170628-093530
base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next
config: i386-randconfig-x076-06262345 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/power/supply/rt9455_charger.o: In function `usb_phy_set_charger_current':
>> rt9455_charger.c:(.text+0x1660): multiple definition of `usb_phy_set_charger_current'
drivers/power/supply/pda_power.o:pda_power.c:(.text+0xad0): first defined here
drivers/power/supply/rt9455_charger.o: In function `usb_phy_get_charger_current':
>> rt9455_charger.c:(.text+0x1670): multiple definition of `usb_phy_get_charger_current'
drivers/power/supply/pda_power.o:pda_power.c:(.text+0xae0): first defined here
drivers/power/supply/rt9455_charger.o: In function `usb_phy_set_charger_state':
>> rt9455_charger.c:(.text+0x1680): multiple definition of `usb_phy_set_charger_state'
drivers/power/supply/pda_power.o:pda_power.c:(.text+0xaf0): first defined here
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip