PD#170791: osd: fixed compile error on buildroot
Change-Id: Ic2e9d2898b3e5596d18590c4323ac7a1c5599037
Signed-off-by: Jiyu Yang <Jiyu.Yang@amlogic.com>
{
u32 idx, data32;
int err_num = 0;
+#ifdef CONFIG_AMLOGIC_MEDIA_FB_OSD_SYNC_FENCE
struct sched_param param = {.sched_priority = 2};
-
+#endif
osd_hw.fb_drvier_probe = osd_probe;
memcpy(&osd_hw.osd_meson_dev, osd_meson,
if (osd_hw.hw_rdma_en)
osd_rdma_enable(1);
+#ifdef CONFIG_AMLOGIC_MEDIA_FB_OSD_SYNC_FENCE
if (!timeline_created) {
/* timeline has not been created */
if (osd_timeline_create()) {
timeline_created = 1;
}
}
+#endif
}