From: Ben Dooks Date: Thu, 24 Jul 2008 04:31:36 +0000 (-0700) Subject: sm501: restructure init to allow only 1 fb on an SM501 X-Git-Tag: v2.6.27-rc1~544 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b599fb2fc23386dfd2965bf7d10b2b0f628b208;p=pandora-kernel.git sm501: restructure init to allow only 1 fb on an SM501 Add the ability to register only one of the two possible main framebuffer devices on the SM501 by passing platform data for only the framebuffer that you are interested in having. As a side note, we update the init sequence to commonise the code that is executed twice, and fix a pair of missing frees that we didn't do on framebuffer exit, such as freeing the fb's cmap. Signed-off-by: Ben Dooks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed