From: Krzysztof Helt Date: Mon, 12 May 2008 21:02:09 +0000 (-0700) Subject: tridentfb: remove misplaced enable_mmio() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6fb488239cd8750cc818197d6c346409c0e8d330;p=openwrt%2Fstaging%2Fblogic.git 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 Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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) vblankstart = var->yres; vblankend = vtotal + 2; - enable_mmio(); crtc_unlock(); write3CE(CyberControl, 8);