fb: add support for drivers not needing VT switch at suspend/resume time
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 4 Feb 2013 13:37:21 +0000 (13:37 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 Feb 2013 00:33:41 +0000 (01:33 +0100)
commit3cf2667b9f8b2c2fe298a427deb399e52321da6b
treeb3cd41100e401550711daf7f852c7f7f618c0b6d
parentf43f627d2f17e95c78647eeddf968d12f5c286b1
fb: add support for drivers not needing VT switch at suspend/resume time

Use the new PM routines to indicate whether we need to VT switch at suspend
and resume time.  When a new driver is bound, set its flag accordingly,
and when unbound, remove it from the PM's console tracking list.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/video/fbmem.c
include/linux/fb.h