From: Antonino A. Daplas Date: Tue, 8 May 2007 07:38:14 +0000 (-0700) Subject: fbdev: don't show logo if driver or fbcon are modular X-Git-Tag: v2.6.22-rc1~436 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70802c60379fb843c485dfd4cab9e8f527d8fe81;p=pandora-kernel.git fbdev: don't show logo if driver or fbcon are modular It was always intended for the logo to be drawn only if both fbcon and the driver that is mapped to it are both compiled statically. Currently, if fbcon is loaded prior to the driver, the logo is not shown. Reverse the order, and the code may attempt to draw the logo which is __initdata. By accident, this bug is rarely seen because this method of loading the modules is not common and secondly, a code in fb_prepare_logo() that checks the height of the logo (now a random value) rarely succeeds. Fix by drawing the logo only if both fbcon and the driver are statically compiled. Signed-off-by: Antonino Daplas Cc: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed