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/com...
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(a)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