projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87d2f5e
)
UAPI: Fix nested __KERNEL__ guards in video/edid.h
author
David Howells
<dhowells@redhat.com>
Tue, 13 Dec 2011 09:26:45 +0000
(09:26 +0000)
committer
David Howells
<dhowells@redhat.com>
Tue, 13 Dec 2011 09:26:45 +0000
(09:26 +0000)
Fix nested __KERNEL__ guards in video/edid.h to make parsing easier.
Signed-off-by: David Howells <dhowells@redhat.com>
include/video/edid.h
patch
|
blob
|
history
diff --git
a/include/video/edid.h
b/include/video/edid.h
index
928c342
..
c5f1987
100644
(file)
--- a/
include/video/edid.h
+++ b/
include/video/edid.h
@@
-1,16
+1,14
@@
#ifndef __linux_video_edid_h__
#define __linux_video_edid_h__
-#if !defined(__KERNEL__) || defined(CONFIG_X86)
-
struct edid_info {
unsigned char dummy[128];
};
#ifdef __KERNEL__
+#ifdef CONFIG_X86
extern struct edid_info edid_info;
-#endif /* __KERNEL__ */
-
+#endif
#endif
#endif /* __linux_video_edid_h__ */