mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
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>
This commit is contained in:
parent
87d2f5e398
commit
e9356f4da3
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user