Re: [PATCHv2] usb: dwc2: Add reset control to dwc2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dinh,

[auto build test ERROR on balbi-usb/next]
[also build test ERROR on v4.6-rc3 next-20160411]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/dinguyen-opensource-altera-com/usb-dwc2-Add-reset-control-to-dwc2/20160412-055956
base:   https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next
config: x86_64-randconfig-x010-201615 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/usb/dwc2/platform.c: In function 'dwc2_lowlevel_hw_init':
>> drivers/usb/dwc2/platform.c:341:41: error: 'dev' undeclared (first use in this function)
     hsotg->reset = devm_reset_control_get(&dev->dev, "dwc2");
                                            ^
   drivers/usb/dwc2/platform.c:341:41: note: each undeclared identifier is reported only once for each function it appears in

vim +/dev +341 drivers/usb/dwc2/platform.c

   335	}
   336	
   337	static int dwc2_lowlevel_hw_init(struct dwc2_hsotg *hsotg)
   338	{
   339		int i, ret;
   340	
 > 341		hsotg->reset = devm_reset_control_get(&dev->dev, "dwc2");
   342		if (IS_ERR(hsotg->reset)) {
   343			dev_info(&dev->dev, "Could not get reset control!\n");
   344			if (PTR_ERR(hsotg->reset) == -EPROBE_DEFER)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux