Pull more ACPI updates from Rafael Wysocki: "These get rid of two clang warnings, add a new quirk mechanism to the ACPI backlight driver (and apply it to one machine) and update the table load object initialization in ACPICA (this is a replacement for a previously reverted ACPICA commit). Specifics: - Make ACPI table loading work more consistently regardless of the exact mechanism used for loading a table (Erik Schmauss). - Get rid of two clang warnings (Arnd Bergmann). - Add new quirk mechanism to the ACPI backlight driver and use it to add a quirk for PB Easynote MZ35 (Hans de Goede)" * tag 'acpi-5.3-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: ACPI: video: Add new hw_changes_brightness quirk, set it on PB Easynote MZ35 ACPI: fix false-positive -Wuninitialized warning ACPI: blacklist: fix clang warning for unused DMI table ACPICA: Update table load object initialization
Showing the changes to include/linux (1 of 5 files). Show all
Unified · Split
| @@ -324,7 +324,10 @@ struct irq_domain *acpi_irq_create_hierarchy(unsigned int flags, · 323 unmodified lines | ||
| 324 | 324 | #ifdef CONFIG_X86_IO_APIC |
| 325 | 325 | extern int acpi_get_override_irq(u32 gsi, int *trigger, int *polarity); |
| 326 | 326 | #else |
| 327 | −#define acpi_get_override_irq(gsi, trigger, polarity) (-1) | |
| 327 | +static inline int acpi_get_override_irq(u32 gsi, int *trigger, int *polarity) | |
| 328 | +{ | |
| 329 | + return -1; | |
| 330 | +} | |
| 328 | 331 | #endif |
| 329 | 332 | /* |
| 330 | 333 | * This function undoes the effect of one call to acpi_register_gsi(). |