Message ID | 218a717f-7fac-41a1-86e2-19f4d99a7f52@codeaurora.org (mailing list archive) |
---|---|
State | Changes Requested, archived |
Headers | show |
--- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -789,6 +789,12 @@ void *acpi_get_match_data(const struct device *dev) { const struct acpi_device_id *match; + if (!dev->driver) + return NULL; + + if (!dev->driver->acpi_match_table) + return NULL; + I'll hold onto posting this until I hear back from Sakari.