diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2011-10-28 14:42:41 +0300 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-10-28 10:09:47 -0700 |
commit | 3fca806cf343155d0bb0dfbdbc2e51ef47b65750 (patch) | |
tree | d9d6d5cdea38d5c633b1f47ff887cb319cdd1b88 /drivers | |
parent | 828204903945002be837d938401e242978b7b505 (diff) | |
download | linux-3fca806cf343155d0bb0dfbdbc2e51ef47b65750.tar.gz linux-3fca806cf343155d0bb0dfbdbc2e51ef47b65750.tar.bz2 linux-3fca806cf343155d0bb0dfbdbc2e51ef47b65750.zip |
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.c | 2 |
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) 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(); |