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); |
Matthew Garrett | 3b1c1c1 | 2009-04-01 19:52:29 +0100 | [diff] [blame] | 6 | extern int acpi_video_exit(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; } |
Matthew Garrett | 3b1c1c1 | 2009-04-01 19:52:29 +0100 | [diff] [blame] | 9 | static inline void acpi_video_exit(void) { return; } |
Matthew Garrett | 74a365b | 2009-03-19 21:35:39 +0000 | [diff] [blame] | 10 | #endif |
| 11 | |
| 12 | #endif |
| 13 | |