fb: for framebuffer handover don't exit the loop early.
Dave Airlie [Thu, 25 Feb 2010 04:05:09 +0000 (14:05 +1000)]
An offb machine has been seen in the fields which adds two
offb nodes, so continue scanning the list after removing one.

Signed-off-by: Dave Airlie <airlied@redhat.com>

drivers/video/fbmem.c

index 99bbd28..a15b44e 100644 (file)
@@ -1513,7 +1513,6 @@ register_framebuffer(struct fb_info *fb_info)
                                       fb_info->fix.id,
                                       registered_fb[i]->fix.id);
                                unregister_framebuffer(registered_fb[i]);
-                               break;
                        }
                }
        }