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..af6fe95fd3d
--- /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 int acpi_video_exit(void);
+#else
+static inline int acpi_video_register(void) { return 0; }
+static inline void acpi_video_exit(void) { return; }
+#endif
+
+#endif
+