summaryrefslogtreecommitdiff
path: root/include/linux/acpi_agdi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/acpi_agdi.h')
-rw-r--r--include/linux/acpi_agdi.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/acpi_agdi.h b/include/linux/acpi_agdi.h
new file mode 100644
index 000000000000..f477f0b452fa
--- /dev/null
+++ b/include/linux/acpi_agdi.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef __ACPI_AGDI_H__
+#define __ACPI_AGDI_H__
+
+#include <linux/acpi.h>
+
+#ifdef CONFIG_ACPI_AGDI
+void __init acpi_agdi_init(void);
+#else
+static inline void acpi_agdi_init(void) {}
+#endif
+#endif /* __ACPI_AGDI_H__ */