]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ACPI: bus: add missing forward declaration to acpi_bus.h
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 27 Apr 2026 11:22:38 +0000 (13:22 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 Apr 2026 20:02:24 +0000 (22:02 +0200)
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>
include/acpi/acpi_bus.h

index b701b5f972cb4c7469ca1508ead33ebfe02a4e59..c41d9a7565cf1185593b680551cd3f1315b41e59 100644 (file)
@@ -17,6 +17,8 @@
 #include <linux/property.h>
 #include <linux/types.h>
 
+struct notifier_block;
+
 struct acpi_handle_list {
        u32 count;
        acpi_handle *handles;