diff options
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/Kbuild | 1 | ||||
-rw-r--r-- | include/video/edid.h | 9 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/video/Kbuild b/include/video/Kbuild index 53a6c7310e61..0e406f730c2f 100644 --- a/include/video/Kbuild +++ b/include/video/Kbuild | |||
@@ -1 +1,2 @@ | |||
1 | unifdef-y += sisfb.h uvesafb.h | 1 | unifdef-y += sisfb.h uvesafb.h |
2 | unifdef-y += edid.h | ||
diff --git a/include/video/edid.h b/include/video/edid.h index f6a42d6c2e2d..928c342b33d6 100644 --- a/include/video/edid.h +++ b/include/video/edid.h | |||
@@ -1,17 +1,16 @@ | |||
1 | #ifndef __linux_video_edid_h__ | 1 | #ifndef __linux_video_edid_h__ |
2 | #define __linux_video_edid_h__ | 2 | #define __linux_video_edid_h__ |
3 | 3 | ||
4 | #ifdef __KERNEL__ | 4 | #if !defined(__KERNEL__) || defined(CONFIG_X86) |
5 | |||
6 | 5 | ||
7 | #ifdef CONFIG_X86 | ||
8 | struct edid_info { | 6 | struct edid_info { |
9 | unsigned char dummy[128]; | 7 | unsigned char dummy[128]; |
10 | }; | 8 | }; |
11 | 9 | ||
10 | #ifdef __KERNEL__ | ||
12 | extern struct edid_info edid_info; | 11 | extern struct edid_info edid_info; |
13 | #endif /* CONFIG_X86 */ | ||
14 | |||
15 | #endif /* __KERNEL__ */ | 12 | #endif /* __KERNEL__ */ |
16 | 13 | ||
14 | #endif | ||
15 | |||
17 | #endif /* __linux_video_edid_h__ */ | 16 | #endif /* __linux_video_edid_h__ */ |