]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
OMAPDSS: HDMI: Remove warnings from unused functions
authorsrinivas pulukuru <srinivas.pulukuru@ti.com>
Wed, 25 Sep 2013 20:40:29 +0000 (15:40 -0500)
committersrinivas pulukuru <srinivas.pulukuru@ti.com>
Thu, 17 Oct 2013 18:52:40 +0000 (13:52 -0500)
Some funtions were hidden due to FBMODE macros causing warnings

Change-Id: I6214e03e71d847bf72cc9baa60151997830808ed
Signed-off-by: srinivas pulukuru <srinivas.pulukuru@ti.com>
drivers/video/omap2/dss/hdmi.c

index 682dae88fc6d215a578e7d4653d2a4dd286e18e4..dae77a83682e241456c6be42242cdde3be30793f 100644 (file)
@@ -600,6 +600,7 @@ static void hdmi_uninit_display(struct omap_dss_device *dssdev)
        gpio_free(hdmi.hpd_gpio);
 }
 
+#ifndef CONFIG_USE_FB_MODE_DB
 static const struct hdmi_config *hdmi_find_timing(
                                        const struct hdmi_config *timings_arr,
                                        int len)
@@ -690,6 +691,7 @@ static struct hdmi_cm hdmi_get_code(struct omap_video_timings *timing)
 end:   return cm;
 
 }
+#endif
 
 u8 *hdmi_read_valid_edid(void)
 {