Skip to content

Commit ea216d3

Browse files
brglrafaeljw
authored andcommitted
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>
1 parent 254f496 commit ea216d3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/acpi/acpi_bus.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#include <linux/property.h>
1818
#include <linux/types.h>
1919

20+
struct notifier_block;
21+
2022
struct acpi_handle_list {
2123
u32 count;
2224
acpi_handle *handles;

0 commit comments

Comments
 (0)