omapfb: suspend/resume only if FB device is already initialized
authorJouni Högander <jouni.hogander@nokia.com>
Fri, 28 Mar 2008 13:03:29 +0000 (15:03 +0200)
committerImre Deak <imre.deak@nokia.com>
Thu, 4 Jun 2009 14:40:25 +0000 (17:40 +0300)
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 Högander <jouni.hogander@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Imre Deak <imre.deak@nokia.com>

No differences found