summaryrefslogtreecommitdiffstats
path: root/drivers/video/riva
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-05-11 07:23:28 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-11 17:29:37 +0200
commit213b8a9af600316902e08e010fbcd216e42e41f7 (patch)
tree2f0ac1222b890fa08fc017308a306eca85e969a6 /drivers/video/riva
parentatmel_lcdfb: AT91/AT32 LCD Controller framebuffer driver (diff)
downloadlinux-213b8a9af600316902e08e010fbcd216e42e41f7.tar.xz
linux-213b8a9af600316902e08e010fbcd216e42e41f7.zip
rivafb: Fix I2C getscl callback function
Fix rivafb's I2C getscl callback function, as was done in nvidiafb recently. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Antonino Daplas <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/riva')
-rw-r--r--drivers/video/riva/rivafb-i2c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/riva/rivafb-i2c.c b/drivers/video/riva/rivafb-i2c.c
index 76e6ce353c8e..a0e22ac483a3 100644
--- a/drivers/video/riva/rivafb-i2c.c
+++ b/drivers/video/riva/rivafb-i2c.c
@@ -70,8 +70,6 @@ static int riva_gpio_getscl(void* data)
if (VGA_RD08(par->riva.PCIO, 0x3d5) & 0x04)
val = 1;
- val = VGA_RD08(par->riva.PCIO, 0x3d5);
-
return val;
}