[balbi-usb:testing/next 49/126] drivers/usb/dwc3/dwc3-st.c:328:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/next
head:   09391e48e580b08475c8742b74f69bde7d6fa1f9
commit: ba1773fb7de92498d3cd51a1cb5a8855b8996912 [49/126] usb: dwc3: Kconfig: allow all glues to build if COMPILE_TEST
config: s390-allyesconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ba1773fb7de92498d3cd51a1cb5a8855b8996912
        # save the attached .config to linux build tree
        make.cross ARCH=s390 

All errors (new ones prefixed by >>):

   drivers/usb/dwc3/dwc3-st.c: In function 'st_dwc3_suspend':
>> drivers/usb/dwc3/dwc3-st.c:328:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration]
     pinctrl_pm_select_sleep_state(dev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/usb/dwc3/dwc3-st.c: In function 'st_dwc3_resume':
>> drivers/usb/dwc3/dwc3-st.c:338:2: error: implicit declaration of function 'pinctrl_pm_select_default_state' [-Werror=implicit-function-declaration]
     pinctrl_pm_select_default_state(dev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/pinctrl_pm_select_sleep_state +328 drivers/usb/dwc3/dwc3-st.c

f83fca07 Peter Griffin 2014-09-05  322  {
f83fca07 Peter Griffin 2014-09-05  323  	struct st_dwc3 *dwc3_data = dev_get_drvdata(dev);
f83fca07 Peter Griffin 2014-09-05  324  
f83fca07 Peter Griffin 2014-09-05  325  	reset_control_assert(dwc3_data->rstc_pwrdn);
f83fca07 Peter Griffin 2014-09-05  326  	reset_control_assert(dwc3_data->rstc_rst);
f83fca07 Peter Griffin 2014-09-05  327  
f83fca07 Peter Griffin 2014-09-05 @328  	pinctrl_pm_select_sleep_state(dev);
f83fca07 Peter Griffin 2014-09-05  329  
f83fca07 Peter Griffin 2014-09-05  330  	return 0;
f83fca07 Peter Griffin 2014-09-05  331  }
f83fca07 Peter Griffin 2014-09-05  332  
f83fca07 Peter Griffin 2014-09-05  333  static int st_dwc3_resume(struct device *dev)
f83fca07 Peter Griffin 2014-09-05  334  {
f83fca07 Peter Griffin 2014-09-05  335  	struct st_dwc3 *dwc3_data = dev_get_drvdata(dev);
f83fca07 Peter Griffin 2014-09-05  336  	int ret;
f83fca07 Peter Griffin 2014-09-05  337  
f83fca07 Peter Griffin 2014-09-05 @338  	pinctrl_pm_select_default_state(dev);
f83fca07 Peter Griffin 2014-09-05  339  
f83fca07 Peter Griffin 2014-09-05  340  	reset_control_deassert(dwc3_data->rstc_pwrdn);
f83fca07 Peter Griffin 2014-09-05  341  	reset_control_deassert(dwc3_data->rstc_rst);

:::::: The code at line 328 was first introduced by commit
:::::: f83fca0707c66e36f14efef7f68702cb12de70b7 usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC

:::::: TO: Peter Griffin <peter.griffin@xxxxxxxxxx>
:::::: CC: Felipe Balbi <balbi@xxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux