diff options
author | David Howells <dhowells@redhat.com> | 2011-12-13 04:26:45 -0500 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2011-12-13 04:26:45 -0500 |
commit | e9356f4da3ffba7ab826ec3ea5f31f414f5b2a95 (patch) | |
tree | 47a41838b271d4ccfa66ba4e97a2dcf4dabd04a2 /include/video | |
parent | 87d2f5e39835b990d3c78d25144dc05b068f697e (diff) |
UAPI: Fix nested __KERNEL__ guards in video/edid.h
Fix nested __KERNEL__ guards in video/edid.h to make parsing easier.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/edid.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/video/edid.h b/include/video/edid.h index 928c342b33d6..c5f198704912 100644 --- a/include/video/edid.h +++ b/include/video/edid.h | |||
@@ -1,16 +1,14 @@ | |||
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 | #if !defined(__KERNEL__) || defined(CONFIG_X86) | ||
5 | |||
6 | struct edid_info { | 4 | struct edid_info { |
7 | unsigned char dummy[128]; | 5 | unsigned char dummy[128]; |
8 | }; | 6 | }; |
9 | 7 | ||
10 | #ifdef __KERNEL__ | 8 | #ifdef __KERNEL__ |
9 | #ifdef CONFIG_X86 | ||
11 | extern struct edid_info edid_info; | 10 | extern struct edid_info edid_info; |
12 | #endif /* __KERNEL__ */ | 11 | #endif |
13 | |||
14 | #endif | 12 | #endif |
15 | 13 | ||
16 | #endif /* __linux_video_edid_h__ */ | 14 | #endif /* __linux_video_edid_h__ */ |