diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2008-05-12 17:02:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-13 11:02:23 -0400 |
commit | 6fb488239cd8750cc818197d6c346409c0e8d330 (patch) | |
tree | 38a634050da98486502c5ee70c7350ce10f50c4d /drivers | |
parent | 55654be9e11461484141d8dff0715efa0d7a945a (diff) |
tridentfb: remove misplaced enable_mmio()
Remove redundant enable_mmio() call as the mmio mode is enabled in the probe
function earlier.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/tridentfb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/tridentfb.c b/drivers/video/tridentfb.c index bd54cd0de39a..982eeee0ae98 100644 --- a/drivers/video/tridentfb.c +++ b/drivers/video/tridentfb.c | |||
@@ -905,7 +905,6 @@ static int tridentfb_set_par(struct fb_info *info) | |||
905 | vblankstart = var->yres; | 905 | vblankstart = var->yres; |
906 | vblankend = vtotal + 2; | 906 | vblankend = vtotal + 2; |
907 | 907 | ||
908 | enable_mmio(); | ||
909 | crtc_unlock(); | 908 | crtc_unlock(); |
910 | write3CE(CyberControl, 8); | 909 | write3CE(CyberControl, 8); |
911 | 910 | ||