summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2011-10-28 14:42:41 +0300
committerDave Airlie <airlied@redhat.com>2011-11-08 10:50:18 +0000
commit35b09c9bf619c4fc6040c52dcea6bd5bd6af7679 (patch)
tree27e9ec49a947d0a267c716a732eae58ac2b856ee /drivers
parent1ea6b8f48918282bdca0b32a34095504ee65bab5 (diff)
downloadop-kernel-dev-35b09c9bf619c4fc6040c52dcea6bd5bd6af7679.zip
op-kernel-dev-35b09c9bf619c4fc6040c52dcea6bd5bd6af7679.tar.gz
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>
Diffstat (limited to 'drivers')
-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 66cd0b8..3a8d448 100644
--- a/drivers/char/agp/intel-gtt.c
+++ b/drivers/char/agp/intel-gtt.c
@@ -1236,7 +1236,7 @@ static int i9xx_setup(void)
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_i9xx_setup_flush();
OpenPOWER on IntegriCloud