There was a compile error that I could easily fix: /home/martien/kernel/linux-5.15.0/drivers/pci/pci-driver.c:516:17: error: implicit declaration of function 'dev_pm_domain_detach' [-Werror=implicit-function-declaration] 516 | dev_pm_domain_detach(dev, true); | ^~~~~~~~~~~~~~~~~~~~
So I had to add this to pci-driver.c: #include <linux/pm_domain.h> Kernel still building, will report after I have tested the patch. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912935 Title: battery drain while notebook off / shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912935/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs