Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ACPI: bus: add missing forward declaration to acpi_bus.h

The header references struct notifier_block but neither includes
linux/notifier.h nor contains the relevant forward declaration.

Add the latter for correctness.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
[ rjw: Subject tweak ]
Link: https://patch.msgid.link/20260427112238.132419-1-bartosz.golaszewski@oss.qualcomm.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Bartosz Golaszewski and committed by
Rafael J. Wysocki
ea216d3a 254f4963

+2
+2
include/acpi/acpi_bus.h
··· 17 17 #include <linux/property.h> 18 18 #include <linux/types.h> 19 19 20 + struct notifier_block; 21 + 20 22 struct acpi_handle_list { 21 23 u32 count; 22 24 acpi_handle *handles;