* [PATCH] ACPI: add missing forward declaration to acpi_bus.h
@ 2026-04-27 11:22 Bartosz Golaszewski
0 siblings, 0 replies; only message in thread
From: Bartosz Golaszewski @ 2026-04-27 11:22 UTC (permalink / raw)
To: Rafael J. Wysocki, Len Brown, Saket Dumbre
Cc: linux-acpi, acpica-devel, linux-kernel, brgl, Bartosz Golaszewski
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>
---
include/acpi/acpi_bus.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index b701b5f972cb..c41d9a7565cf 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -17,6 +17,8 @@
#include <linux/property.h>
#include <linux/types.h>
+struct notifier_block;
+
struct acpi_handle_list {
u32 count;
acpi_handle *handles;
--
2.47.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-27 11:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-27 11:22 [PATCH] ACPI: add missing forward declaration to acpi_bus.h Bartosz Golaszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox