[xlnx:master 823/864] drivers/usb//dwc3/host.c:24:6: error: redefinition of 'dwc3_host_wakeup_capable'

kbuild test robot fengguang.wu at intel.com
Mon Jul 31 04:22:00 PDT 2017


tree:   https://github.com/Xilinx/linux-xlnx master
head:   00346d2eba7634f4fb2c2117ac371e0c104a2870
commit: 80ac0da9010ebabef6ed1d66b6607b345fd14cb4 [823/864] dwc3: Add support for clock disabling during suspend
config: blackfin-allyesconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 80ac0da9010ebabef6ed1d66b6607b345fd14cb4
        # save the attached .config to linux build tree
        make.cross ARCH=blackfin 

All errors (new ones prefixed by >>):

>> drivers/usb//dwc3/host.c:24:6: error: redefinition of 'dwc3_host_wakeup_capable'
    void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
         ^~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/usb//dwc3/host.c:20:0:
   include/linux/usb/xhci_pdriver.h:25:6: note: previous definition of 'dwc3_host_wakeup_capable' was here
    void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
         ^~~~~~~~~~~~~~~~~~~~~~~~

vim +/dwc3_host_wakeup_capable +24 drivers/usb//dwc3/host.c

    23	
  > 24	void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
    25	{
    26		dwc3_simple_wakeup_capable(dev, wakeup);
    27	}
    28	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 42470 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170731/483a4124/attachment-0001.gz>


More information about the linux-arm-kernel mailing list