Re: [PATCH v3 1/2] usb: host: plat: Enable xhci plat runtime PM
From: kbuild test robot
Date: Wed Nov 23 2016 - 12:40:03 EST
Hi Baolin,
[auto build test ERROR on v4.9-rc6]
[also build test ERROR on next-20161123]
[cannot apply to balbi-usb/next usb/usb-testing]
[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/Baolin-Wang/usb-host-plat-Enable-xhci-plat-runtime-PM/20161124-012323
config: x86_64-randconfig-x008-201647 (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=x86_64
All errors (new ones prefixed by >>):
drivers/usb/host/xhci-plat.c: In function 'xhci_plat_remove':
>> drivers/usb/host/xhci-plat.c:281:28: error: 'pdev' undeclared (first use in this function)
pm_runtime_set_suspended(&pdev->dev);
^~~~
drivers/usb/host/xhci-plat.c:281:28: note: each undeclared identifier is reported only once for each function it appears in
vim +/pdev +281 drivers/usb/host/xhci-plat.c
275 static int xhci_plat_remove(struct platform_device *dev)
276 {
277 struct usb_hcd *hcd = platform_get_drvdata(dev);
278 struct xhci_hcd *xhci = hcd_to_xhci(hcd);
279 struct clk *clk = xhci->clk;
280
> 281 pm_runtime_set_suspended(&pdev->dev);
282 pm_runtime_put_noidle(&pdev->dev);
283 pm_runtime_disable(&dev->dev);
284
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip