blob: cf7be3dd157bec5572a2b9f3220e4e1274d5f27b [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);
Zhao Yakui86e437f2009-06-16 11:23:13 +08006extern void acpi_video_unregister(void);
Matthew Garrett74a365b2009-03-19 21:35:39 +00007#else
8static inline int acpi_video_register(void) { return 0; }
Zhao Yakui86e437f2009-06-16 11:23:13 +08009static inline void acpi_video_unregister(void) { return; }
Matthew Garrett74a365b2009-03-19 21:35:39 +000010#endif
11
12#endif
13