blob: af6fe95fd3d004e88e0d2cafa63c682a611e687e [file] [log] [blame]
Matthew Garrett74a365b2009-03-19 21:35:39 +00001#ifndef __ACPI_VIDEO_H
2#define __ACPI_VIDEO_H
3
4#if (defined CONFIG_ACPI_VIDEO || defined CONFIG_ACPI_VIDEO_MODULE)
5extern int acpi_video_register(void);
Matthew Garrett3b1c1c12009-04-01 19:52:29 +01006extern int acpi_video_exit(void);
Matthew Garrett74a365b2009-03-19 21:35:39 +00007#else
8static inline int acpi_video_register(void) { return 0; }
Matthew Garrett3b1c1c12009-04-01 19:52:29 +01009static inline void acpi_video_exit(void) { return; }
Matthew Garrett74a365b2009-03-19 21:35:39 +000010#endif
11
12#endif
13