osd: fix buidroot compile error issue [1/1]
authorPengcheng Chen <pengcheng.chen@amlogic.com>
Fri, 1 Feb 2019 01:58:04 +0000 (09:58 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 1 Feb 2019 02:18:59 +0000 (18:18 -0800)
PD#SWPL-4502

Problem:
buidlroot compile error

Solution:
fix buidroot compile error issue

Verify:
buildroot make linux-build

Change-Id: I0277c2b3f439946ab680f4c34f30c16e31ea6034
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
drivers/amlogic/media/osd/osd_hw.c

index c304208..cabceb8 100644 (file)
@@ -845,7 +845,6 @@ static void f2v_get_vertical_phase(
 static bool osd_hdr_on;
 #endif
 
-#ifdef CONFIG_AMLOGIC_MEDIA_FB_OSD_SYNC_FENCE
 static int get_encp_line(void)
 {
        int enc_line = 0;
@@ -878,7 +877,6 @@ static int get_encp_line(void)
        enc_line -= active_line_begin;
        return enc_line;
 }
-#endif
 
 static int get_enter_encp_line(void)
 {