[wsa:i2c/for-current 2/2] drivers/i2c/busses/i2c-imx-lpi2c.c:642: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/wsa/linux.git i2c/for-current
head:   454f919e9afdf0a66576c3d22a2a8f39420c114e
commit: 454f919e9afdf0a66576c3d22a2a8f39420c114e [2/2] i2c: imx-lpi2c: add VLLS mode support
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-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 454f919e9afdf0a66576c3d22a2a8f39420c114e
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

   drivers/i2c/busses/i2c-imx-lpi2c.c: In function 'lpi2c_imx_suspend':
>> drivers/i2c/busses/i2c-imx-lpi2c.c:642:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration]
     pinctrl_pm_select_sleep_state(dev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/i2c/busses/i2c-imx-lpi2c.c: In function 'lpi2c_imx_resume':
>> drivers/i2c/busses/i2c-imx-lpi2c.c:649: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 +642 drivers/i2c/busses/i2c-imx-lpi2c.c

   636		return 0;
   637	}
   638	
   639	#ifdef CONFIG_PM_SLEEP
   640	static int lpi2c_imx_suspend(struct device *dev)
   641	{
 > 642		pinctrl_pm_select_sleep_state(dev);
   643	
   644		return 0;
   645	}
   646	
   647	static int lpi2c_imx_resume(struct device *dev)
   648	{
 > 649		pinctrl_pm_select_default_state(dev);
   650	
   651		return 0;
   652	}

---
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 GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux