Skip to contentSkip to conversation

ACPI: add missing forward declaration to acpi_bus.h

PATCH New Bartosz Golaszewski 1 participant 1 message Apr 27

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: 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.

---
 include/acpi/acpi_bus.h | 2 ++
 1 file changed, 2 insertions(+)
include/acpi/acpi_bus.h +2 -0
index b701b5f972cb..c41d9a7565cf 100644
@@ -17,6 +17,8 @@
 #include <linux/property.h>
 #include <linux/types.h>
 
+struct notifier_block;
+
 struct acpi_handle_list {
 	u32 count;
 	acpi_handle *handles;
Signature · 1 line
2.47.3