summaryrefslogtreecommitdiffstats
path: root/include/acpi/video.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi/video.h')
-rw-r--r--include/acpi/video.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/acpi/video.h b/include/acpi/video.h
new file mode 100644
index 00000000000..cf7be3dd157
--- /dev/null
+++ b/include/acpi/video.h
@@ -0,0 +1,13 @@
+#ifndef __ACPI_VIDEO_H
+#define __ACPI_VIDEO_H
+
+#if (defined CONFIG_ACPI_VIDEO || defined CONFIG_ACPI_VIDEO_MODULE)
+extern int acpi_video_register(void);
+extern void acpi_video_unregister(void);
+#else
+static inline int acpi_video_register(void) { return 0; }
+static inline void acpi_video_unregister(void) { return; }
+#endif
+
+#endif
+