Skip to content

Commit

Permalink
v4l: xilinx: sdirxss: Fix kbuild warning of variable used without ini…
Browse files Browse the repository at this point in the history
…talizing

Fix warningi from kbuild test robot of variable being used without
initializing.

Signed-off-by: Vishal Sagar <vsagar@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
  • Loading branch information
vishals-xlnx authored and Michal Simek committed Aug 28, 2017
1 parent a5d7bad commit edd5155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/xilinx/xilinx-sdirxss.c
Expand Up @@ -304,7 +304,7 @@ static int xsdirx_set_modedetect(struct xsdirxss_core *core, u16 mask)
val |= XSDIRX_MDL_CTRL_MODE_DET_EN_MASK;
} else {
/* Fixed Mode */
u32 forced_mode_mask;
u32 forced_mode_mask = 0;

dev_dbg(core->dev, "Detect fixed mode\n");

Expand Down

0 comments on commit edd5155

Please sign in to comment.