Skip to content

Commit 4133b89

Browse files
committed
Fixup 5769e04 ("fbdev: Allow client to request a particular /dev/fbN node")
We lost a line in the forward port, which meant that it always used /dev/fb0, and complained that the sysfs nodes already existed. Fixes: 5769e04 ("fbdev: Allow client to request a particular /dev/fbN node") Signed-off-by: Dave Stevenson <[email protected]>
1 parent 94d0c72 commit 4133b89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/video/fbdev/core/fbmem.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ static int do_register_framebuffer(struct fb_info *fb_info)
463463
if (err < 0)
464464
return err;
465465

466+
fb_info->node = i;
466467
refcount_set(&fb_info->count, 1);
467468
mutex_init(&fb_info->lock);
468469
mutex_init(&fb_info->mm_lock);

0 commit comments

Comments
 (0)