linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Srinivas Neeli <srinivas.neeli@xilinx.com>
Cc: kbuild-all@lists.01.org, linux-gpio@vger.kernel.org,
	Linus Walleij <linus.walleij@linaro.org>
Subject: [gpio:for-next 11/14] drivers/gpio/gpio-xilinx.c:275:2: error: implicit declaration of function 'pm_runtime_disable'
Date: Wed, 18 Nov 2020 15:37:47 +0800	[thread overview]
Message-ID: <202011181542.CKNY3uXZ-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2020-11-18  7:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202011181542.CKNY3uXZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=srinivas.neeli@xilinx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).