* [gpio:for-next 11/14] drivers/gpio/gpio-xilinx.c:275:2: error: implicit declaration of function 'pm_runtime_disable'
@ 2020-11-18 7:37 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-11-18 7:37 UTC (permalink / raw)
To: Srinivas Neeli; +Cc: kbuild-all, linux-gpio, Linus Walleij
[-- Attachment #1: Type: text/plain, Size: 2137 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
head: fec3b9548c97c2d8e96d1b402a1b376ffcdbf8d5
commit: fbbeb6c0a1d01dee441348476ab499c390caeb2b [11/14] gpio: gpio-xilinx: Add remove function
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git/commit/?id=fbbeb6c0a1d01dee441348476ab499c390caeb2b
git remote add gpio https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git
git fetch --no-tags gpio for-next
git checkout fbbeb6c0a1d01dee441348476ab499c390caeb2b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpio/gpio-xilinx.c: In function 'xgpio_remove':
>> drivers/gpio/gpio-xilinx.c:275:2: error: implicit declaration of function 'pm_runtime_disable' [-Werror=implicit-function-declaration]
275 | pm_runtime_disable(&pdev->dev);
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/pm_runtime_disable +275 drivers/gpio/gpio-xilinx.c
261
262 /**
263 * xgpio_remove - Remove method for the GPIO device.
264 * @pdev: pointer to the platform device
265 *
266 * This function remove gpiochips and frees all the allocated resources.
267 *
268 * Return: 0 always
269 */
270 static int xgpio_remove(struct platform_device *pdev)
271 {
272 struct xgpio_instance *gpio = platform_get_drvdata(pdev);
273
274 clk_disable_unprepare(gpio->clk);
> 275 pm_runtime_disable(&pdev->dev);
276
277 return 0;
278 }
279
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 58848 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-18 7:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-18 7:37 [gpio:for-next 11/14] drivers/gpio/gpio-xilinx.c:275:2: error: implicit declaration of function 'pm_runtime_disable' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).