aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-05-08 03:39:42 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:32 -0400
commit2620c6e31735248ac26403558bd4279a8af619d8 (patch)
treea08129afa07bf0ac86cce8ae716ea5737a8f1fe7 /drivers/video
parent0449359f053829ec89c026b5fb80bbe7190a5fe8 (diff)
nvidiafb: fix return value of nvidiafb_open()
Fix return value of nvidiafb_open(). 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')
-rw-r--r--drivers/video/nvidia/nvidia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c
index 610575319444..7c36b5fe582e 100644
--- a/drivers/video/nvidia/nvidia.c
+++ b/drivers/video/nvidia/nvidia.c
@@ -1016,7 +1016,7 @@ static int nvidiafb_release(struct fb_info *info, int user)
1016 par->open_count--; 1016 par->open_count--;
1017done: 1017done:
1018 mutex_unlock(&par->open_lock); 1018 mutex_unlock(&par->open_lock);
1019 return 0; 1019 return err;
1020} 1020}
1021 1021
1022static struct fb_ops nvidia_fb_ops = { 1022static struct fb_ops nvidia_fb_ops = {