MLK-15932-2 video: dpu: Remove the prefix 'lb_' for lb_pixengcfg_clken_t
authorLiu Ying <victor.liu@nxp.com>
Mon, 10 Jul 2017 03:06:51 +0000 (11:06 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:33:30 +0000 (15:33 -0500)
There are several DPU units which have the same clock enable control bits
in their Dynamic registers, e.g., HScaler, VScaler, Rop, Fliter and Matrix,
etc.  So, let's remove the prefix 'lb_' from the enumerator name of
lb_pixengcfg_clk_t so that it can be a little bit generic.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
drivers/gpu/imx/dpu/dpu-layerblend.c
include/video/dpu.h

index ef90ee6..c7c42f3 100644 (file)
@@ -165,7 +165,7 @@ void layerblend_pixengcfg_dynamic_sec_sel(struct dpu_layerblend *lb,
 EXPORT_SYMBOL_GPL(layerblend_pixengcfg_dynamic_sec_sel);
 
 void layerblend_pixengcfg_clken(struct dpu_layerblend *lb,
-                               lb_pixengcfg_clken_t clken)
+                               pixengcfg_clken_t clken)
 {
        u32 val;
 
index 4418cc6..2dd96d5 100644 (file)
@@ -350,7 +350,7 @@ typedef enum {
        CLKEN__DISABLE = 0x0,
        CLKEN__AUTOMATIC = 0x1,
        CLKEN__FULL = 0x3,
-} lb_pixengcfg_clken_t;
+} pixengcfg_clken_t;
 
 int dpu_map_irq(struct dpu_soc *dpu, int irq);
 
@@ -472,7 +472,7 @@ int layerblend_pixengcfg_dynamic_prim_sel(struct dpu_layerblend *lb,
 void layerblend_pixengcfg_dynamic_sec_sel(struct dpu_layerblend *lb,
                                          lb_sec_sel_t sec);
 void layerblend_pixengcfg_clken(struct dpu_layerblend *lb,
-                               lb_pixengcfg_clken_t clken);
+                               pixengcfg_clken_t clken);
 void layerblend_shden(struct dpu_layerblend *lb, bool enable);
 void layerblend_shdtoksel(struct dpu_layerblend *lb, lb_shadow_sel_t sel);
 void layerblend_shdldsel(struct dpu_layerblend *lb, lb_shadow_sel_t sel);