tree: git://git.infradead.org/users/dvhart/linux-platform-drivers-x86.git review-andy head: 8fcbea505d0842f542043c2667474e2a05f8b384 commit: 8fcbea505d0842f542043c2667474e2a05f8b384 [6/6] platform/x86: intel-vbtn: Convert to pure ACPI driver config: x86_64-randconfig-x006-201804 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: git checkout 8fcbea505d0842f542043c2667474e2a05f8b384 # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): >> drivers/platform/x86/intel-vbtn.c:172:11: error: 'ACPI_BUTTON_CLASS' undeclared here (not in a function); did you mean 'ACPI_DEVICE_CLASS'? .class = ACPI_BUTTON_CLASS, ^~~~~~~~~~~~~~~~~ ACPI_DEVICE_CLASS >> drivers/platform/x86/intel-vbtn.c:178:3: error: 'struct acpi_driver' has no member named 'driver'; did you mean 'drv'? .driver = { ^~~~~~ drv vim +172 drivers/platform/x86/intel-vbtn.c 169 170 static struct acpi_driver intel_vbtn_driver = { 171 .name = "intel-vbtn", > 172 .class = ACPI_BUTTON_CLASS, 173 .ids = intel_vbtn_ids, 174 .ops = { 175 .add = intel_vbtn_add, 176 .notify = notify_handler, 177 }, > 178 .driver = { --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip