Skip to content

Commit

Permalink
UAPI: Fix nested __KERNEL__ guards in video/edid.h
Browse files Browse the repository at this point in the history
Fix nested __KERNEL__ guards in video/edid.h to make parsing easier.

Signed-off-by: David Howells <dhowells@redhat.com>
  • Loading branch information
David Howells committed Dec 13, 2011
1 parent 87d2f5e commit e9356f4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions include/video/edid.h
Original file line number Diff line number Diff line change
@@ -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__ */

0 comments on commit e9356f4

Please sign in to comment.