From: Jouni Hogander Date: Tue, 22 Sep 2009 23:46:58 +0000 (-0700) Subject: omapfb: suspend/resume only if FB device is already initialized X-Git-Tag: v2.6.32-rc1~235 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6c2b66d353dba229ce167acef49639b9ddf90d9;p=pandora-kernel.git omapfb: suspend/resume only if FB device is already initialized Check wether fbdev is NULL in suspend / resume functions. Fbdev is NULL, if there is no lcd or it is not enabled in configuration. Signed-off-by: Jouni Hogander Signed-off-by: Tony Lindgren Signed-off-by: Imre Deak Acked-by: Krzysztof Helt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed