diff --git a/hw/xfree86/ddc/edid.h b/hw/xfree86/ddc/edid.h index bef1e455a7..553aca864f 100644 --- a/hw/xfree86/ddc/edid.h +++ b/hw/xfree86/ddc/edid.h @@ -264,15 +264,4 @@ struct cea_speaker_block { uint8_t ResvByte; }; -struct cea_data_block { - uint8_t len:5; - uint8_t tag:3; - union { - struct cea_video_block video; - struct cea_audio_block audio; - struct cea_vendor_block vendor; - struct cea_speaker_block speaker; - } u; -}; - #endif /* _EDID_H_ */ diff --git a/hw/xfree86/ddc/edid_priv.h b/hw/xfree86/ddc/edid_priv.h index 40dfe145a7..cb89c0111a 100644 --- a/hw/xfree86/ddc/edid_priv.h +++ b/hw/xfree86/ddc/edid_priv.h @@ -280,4 +280,15 @@ /* Msc stuff EDID Ver > 1.1 */ #define CVT_SUPPORTED(x) (x & 0x1) +struct cea_data_block { + uint8_t len:5; + uint8_t tag:3; + union { + struct cea_video_block video; + struct cea_audio_block audio; + struct cea_vendor_block vendor; + struct cea_speaker_block speaker; + } u; +}; + #endif /* _XFREE86_EDID_PRIV_H_ */ diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c index afc89a1747..21535ac4ed 100644 --- a/hw/xfree86/modes/xf86Crtc.c +++ b/hw/xfree86/modes/xf86Crtc.c @@ -33,6 +33,7 @@ #include "dix/screen_hooks_priv.h" #include "randr/randrstr_priv.h" +#include "edid_priv.h" #include "xf86_priv.h" #include "xf86DDC_priv.h" #include "xf86Config.h"