]> bbs.cooldavid.org Git - net-next-2.6.git/blame - include/acpi/video.h
igbvf: Update version and Copyright
[net-next-2.6.git] / include / acpi / video.h
CommitLineData
74a365b3
MG
1#ifndef __ACPI_VIDEO_H
2#define __ACPI_VIDEO_H
3
e92a7162
MG
4#define ACPI_VIDEO_DISPLAY_CRT 1
5#define ACPI_VIDEO_DISPLAY_TV 2
6#define ACPI_VIDEO_DISPLAY_DVI 3
7#define ACPI_VIDEO_DISPLAY_LCD 4
8
9#define ACPI_VIDEO_DISPLAY_LEGACY_MONITOR 0x0100
10#define ACPI_VIDEO_DISPLAY_LEGACY_PANEL 0x0110
11#define ACPI_VIDEO_DISPLAY_LEGACY_TV 0x0200
12
74a365b3
MG
13#if (defined CONFIG_ACPI_VIDEO || defined CONFIG_ACPI_VIDEO_MODULE)
14extern int acpi_video_register(void);
86e437f0 15extern void acpi_video_unregister(void);
e92a7162
MG
16extern int acpi_video_get_edid(struct acpi_device *device, int type,
17 int device_id, void **edid);
74a365b3
MG
18#else
19static inline int acpi_video_register(void) { return 0; }
86e437f0 20static inline void acpi_video_unregister(void) { return; }
e92a7162
MG
21static inline int acpi_video_get_edid(struct acpi_device *device, int type,
22 int device_id, void **edid)
23{
24 return -ENODEV;
25}
74a365b3
MG
26#endif
27
28#endif
29