Home
last modified time | relevance | path

Searched hist:b9370dceabb7841c5e65ce4ee4405b9db5231fc4 (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/acpi/
H A Dfan.hb9370dceabb7841c5e65ce4ee4405b9db5231fc4 Fri May 14 21:08:51 CEST 2021 Rafael J. Wysocki <rafael.j.wysocki@intel.com> ACPI: PM / fan: Put fan device IDs into separate header file

The ACPI fan device IDs are shared between the fan driver and the
device power management code. The former is modular, so it needs
to include the table of device IDs for module autoloading and the
latter needs that list to avoid attaching the generic ACPI PM domain
to fan devices (which doesn't make sense) possibly before the fan
driver module is loaded.

Unfortunately, that requires the list of fan device IDs to be
updated in two places which is prone to mistakes, so put it into
a symbol definition in a separate header file so there is only one
copy of it in case it needs to be updated again in the future.

Fixes: b9ea0bae260f ("ACPI: PM: Avoid attaching ACPI PM domain to certain devices")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
H A Ddevice_pm.cdiff b9370dceabb7841c5e65ce4ee4405b9db5231fc4 Fri May 14 21:08:51 CEST 2021 Rafael J. Wysocki <rafael.j.wysocki@intel.com> ACPI: PM / fan: Put fan device IDs into separate header file

The ACPI fan device IDs are shared between the fan driver and the
device power management code. The former is modular, so it needs
to include the table of device IDs for module autoloading and the
latter needs that list to avoid attaching the generic ACPI PM domain
to fan devices (which doesn't make sense) possibly before the fan
driver module is loaded.

Unfortunately, that requires the list of fan device IDs to be
updated in two places which is prone to mistakes, so put it into
a symbol definition in a separate header file so there is only one
copy of it in case it needs to be updated again in the future.

Fixes: b9ea0bae260f ("ACPI: PM: Avoid attaching ACPI PM domain to certain devices")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>