From: Tomi Valkeinen Date: Wed, 9 Dec 2015 17:23:44 +0000 (+0200) Subject: omapdss: remove CONFIG_OMAP2_DSS_VENC from omapdss.h X-Git-Tag: v4.5-rc1~69^2~1^2~6 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fc6caa0b5b9b234fc9efff4342956d5d06112137;p=karo-tx-linux.git omapdss: remove CONFIG_OMAP2_DSS_VENC from omapdss.h We are about to make a private copy of omapdss for omapfb and for omapdrm. The omapdss.h file will still be shared for the time being. The copy will need to change the config symbols, and we happen to have one use of these config symbols in omapdss.h which needs to be removed. Luckily we can just delete the use of CONFIG_OMAP2_DSS_VENC from omapdss, as it's used only to hide extern declarations, and there's no harm to have those declarations even if CONFIG_OMAP2_DSS_VENC is not set. Signed-off-by: Tomi Valkeinen Acked-by: Dave Airlie Acked-by: Rob Clark --- diff --git a/include/video/omapdss.h b/include/video/omapdss.h index bbf942ebdd28..295b41e20d8e 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -368,14 +368,12 @@ struct omap_video_timings { enum omap_dss_signal_edge sync_pclk_edge; }; -#ifdef CONFIG_OMAP2_DSS_VENC /* Hardcoded timings for tv modes. Venc only uses these to * identify the mode, and does not actually use the configs * itself. However, the configs should be something that * a normal monitor can also show */ extern const struct omap_video_timings omap_dss_pal_timings; extern const struct omap_video_timings omap_dss_ntsc_timings; -#endif struct omap_dss_cpr_coefs { s16 rr, rg, rb;