Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9356f4d authored by David Howells's avatar David Howells
Browse files

UAPI: Fix nested __KERNEL__ guards in video/edid.h



Fix nested __KERNEL__ guards in video/edid.h to make parsing easier.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 87d2f5e3
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
#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__ */