Re: [PATCH 1/1] regulator: fixed: add suspend pm routines for pinctrl
From: kbuild test robot
Date: Tue Jan 03 2017 - 09:35:41 EST
Hi Peter,
[auto build test ERROR on regulator/for-next]
[also build test ERROR on v4.10-rc2 next-20170103]
[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/Peter-Chen/regulator-fixed-add-suspend-pm-routines-for-pinctrl/20170103-214456
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
config: i386-randconfig-a0-201701 (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/regulator/fixed.c: In function 'reg_fixed_voltage_suspend':
>> drivers/regulator/fixed.c:251:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration]
pinctrl_pm_select_sleep_state(dev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/regulator/fixed.c: In function 'reg_fixed_voltage_resume':
>> drivers/regulator/fixed.c:257: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 +251 drivers/regulator/fixed.c
245 MODULE_DEVICE_TABLE(of, fixed_of_match);
246 #endif
247
248 #ifdef CONFIG_PM_SLEEP
249 static int reg_fixed_voltage_suspend(struct device *dev)
250 {
> 251 pinctrl_pm_select_sleep_state(dev);
252
253 return 0;
254 }
255 static int reg_fixed_voltage_resume(struct device *dev)
256 {
> 257 pinctrl_pm_select_default_state(dev);
258
259 return 0;
260 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip