| Matthew Garrett | 74a365b | 2009-03-19 21:35:39 +0000 | [diff] [blame] | 1 | #ifndef __ACPI_VIDEO_H | 
|  | 2 | #define __ACPI_VIDEO_H | 
|  | 3 |  | 
|  | 4 | #if (defined CONFIG_ACPI_VIDEO || defined CONFIG_ACPI_VIDEO_MODULE) | 
|  | 5 | extern int acpi_video_register(void); | 
| Zhao Yakui | 86e437f | 2009-06-16 11:23:13 +0800 | [diff] [blame] | 6 | extern void acpi_video_unregister(void); | 
| Matthew Garrett | 74a365b | 2009-03-19 21:35:39 +0000 | [diff] [blame] | 7 | #else | 
|  | 8 | static inline int acpi_video_register(void) { return 0; } | 
| Zhao Yakui | 86e437f | 2009-06-16 11:23:13 +0800 | [diff] [blame] | 9 | static inline void acpi_video_unregister(void) { return; } | 
| Matthew Garrett | 74a365b | 2009-03-19 21:35:39 +0000 | [diff] [blame] | 10 | #endif | 
|  | 11 |  | 
|  | 12 | #endif | 
|  | 13 |  |