The nfit driver had an acpi event notification handler, but it never would've worked because we weren't setting the ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver.
Cc: <[email protected]> Cc: <[email protected]> Cc: Dan Williams <[email protected]> Cc: Xiao Guangrong <[email protected]> Signed-off-by: Vishal Verma <[email protected]> --- drivers/acpi/nfit/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c index 80cc7c0..5d33d81 100644 --- a/drivers/acpi/nfit/core.c +++ b/drivers/acpi/nfit/core.c @@ -2731,6 +2731,7 @@ MODULE_DEVICE_TABLE(acpi, acpi_nfit_ids); static struct acpi_driver acpi_nfit_driver = { .name = KBUILD_MODNAME, .ids = acpi_nfit_ids, + .flags = ACPI_DRIVER_ALL_NOTIFY_EVENTS, .ops = { .add = acpi_nfit_add, .remove = acpi_nfit_remove, -- 2.7.4

