From cfbcb3d818299cfd0ff501bc976cedf8e47ddc0c Mon Sep 17 00:00:00 2001 From: Pengcheng Chen Date: Fri, 1 Feb 2019 09:58:04 +0800 Subject: [PATCH] osd: fix buidroot compile error issue [1/1] 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 --- drivers/amlogic/media/osd/osd_hw.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/amlogic/media/osd/osd_hw.c b/drivers/amlogic/media/osd/osd_hw.c index c3042086ec9c..cabceb844158 100644 --- a/drivers/amlogic/media/osd/osd_hw.c +++ b/drivers/amlogic/media/osd/osd_hw.c @@ -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) {