[pm:bleeding-edge 150/161] drivers/gpu/vga/vga_switcheroo.c:668:3: error: implicit declaration of function 'dev_pm_domain_set'

From: kbuild test robot <hidden>
Date: 2015-11-02 02:12:18

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head:   d8e924f56f8ac33846633c527ba3aa0bafe2ca6c
commit: 7b57953f0eb1369453662f0941419d66ca66e38e [150/161] PM / Domains: add setter for dev.pm_domain
config: x86_64-allmodconfig (attached as .config)
reproduce:
        git checkout 7b57953f0eb1369453662f0941419d66ca66e38e
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/vga/vga_switcheroo.c: In function 'vga_switcheroo_init_domain_pm_ops':
quoted
drivers/gpu/vga/vga_switcheroo.c:668:3: error: implicit declaration of function 'dev_pm_domain_set' [-Werror=implicit-function-declaration]
      dev_pm_domain_set(dev, domain);
      ^
   cc1: some warnings being treated as errors

vim +/dev_pm_domain_set +668 drivers/gpu/vga/vga_switcheroo.c

   662		/* copy over all the bus versions */
   663		if (dev->bus && dev->bus->pm) {
   664			domain->ops = *dev->bus->pm;
   665			domain->ops.runtime_suspend = vga_switcheroo_runtime_suspend;
   666			domain->ops.runtime_resume = vga_switcheroo_runtime_resume;
   667	
 > 668			dev_pm_domain_set(dev, domain);
   669			return 0;
   670		}
   671		dev_pm_domain_set(dev, NULL);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help