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>
This commit is contained in:
Antonino A. Daplas 2007-05-08 00:39:42 -07:00 committed by Linus Torvalds
parent 0449359f05
commit 2620c6e317
1 changed files with 1 additions and 1 deletions

View File

@ -1016,7 +1016,7 @@ static int nvidiafb_release(struct fb_info *info, int user)
par->open_count--;
done:
mutex_unlock(&par->open_lock);
return 0;
return err;
}
static struct fb_ops nvidia_fb_ops = {