aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2011-10-28 07:42:41 -0400
committerKeith Packard <keithp@keithp.com>2011-10-28 13:09:47 -0400
commit3fca806cf343155d0bb0dfbdbc2e51ef47b65750 (patch)
treed9d6d5cdea38d5c633b1f47ff887cb319cdd1b88
parent828204903945002be837d938401e242978b7b505 (diff)
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: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--drivers/char/agp/intel-gtt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c
index 66cd0b8096ca..3a8d44886010 100644
--- a/drivers/char/agp/intel-gtt.c
+++ b/drivers/char/agp/intel-gtt.c
@@ -1236,7 +1236,7 @@ static int i9xx_setup(void)
1236 intel_private.gtt_bus_addr = reg_addr + gtt_offset; 1236 intel_private.gtt_bus_addr = reg_addr + gtt_offset;
1237 } 1237 }
1238 1238
1239 if (needs_idle_maps()); 1239 if (needs_idle_maps())
1240 intel_private.base.do_idle_maps = 1; 1240 intel_private.base.do_idle_maps = 1;
1241 1241
1242 intel_i9xx_setup_flush(); 1242 intel_i9xx_setup_flush();