BZ: 20871
While disable the CONFIG_MDFD_HDMI, add two MACRO to disable the hdmi_do_hotplug_wq and hdmi_do_audio_wq to make compiling successful.
Change-Id: I09f4fc1bfcc3f6a0a8d6aaa7a2b3e90f7ff51ca9
Signed-off-by: yifei.xue <yifeix.xue@intel.com>
Signed-off-by: Tong, Bo <box.tong@intel.com>
Reviewed-on: http://android.intel.com:8080/34261
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
return true;
}
+#ifdef CONFIG_MDFD_HDMI
void hdmi_do_hotplug_wq(struct work_struct *work)
{
u8 data = 0;
}
#endif
}
+#endif
static int psb_do_init(struct drm_device *dev)
{
gl3_enable();
#endif
+#ifdef CONFIG_MDFD_HDMI
atomic_set(&dev_priv->hotplug_wq_done, 0);
INIT_WORK(&dev_priv->hdmi_hotplug_wq, hdmi_do_hotplug_wq);
INIT_WORK(&dev_priv->hdmi_audio_wq, hdmi_do_audio_wq);
+#endif
/*Intel drm driver load is done, continue doing pvr load*/
DRM_DEBUG("Pvr driver load\n");