Commit 35b09c9b authored by Dan Carpenter's avatar Dan Carpenter Committed by Dave Airlie

drm/i915: fix if statement (bogus semi-colon)

The semi-colon is a typo here and it makes the if statement
unconditional.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 1ea6b8f4
...@@ -1236,7 +1236,7 @@ static int i9xx_setup(void) ...@@ -1236,7 +1236,7 @@ static int i9xx_setup(void)
intel_private.gtt_bus_addr = reg_addr + gtt_offset; intel_private.gtt_bus_addr = reg_addr + gtt_offset;
} }
if (needs_idle_maps()); if (needs_idle_maps())
intel_private.base.do_idle_maps = 1; intel_private.base.do_idle_maps = 1;
intel_i9xx_setup_flush(); intel_i9xx_setup_flush();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment