diff options
author | Jiri Slaby <[email protected]> | 2010-11-04 16:20:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-11-16 12:50:17 -0800 |
commit | 281e66057757ddf32ffe679a08f9634fa9f70a7a (patch) | |
tree | 4822cc0b187487d143fc9dfaf1c7c6c2695c9935 | |
parent | 3dfbd044d0d99cad2fe50e4f6c79845703fa0558 (diff) |
VIDEO: xen-fb, switch to for_each_console
Use newly added for_each_console for iterating consoles.
Signed-off-by: Jiri Slaby <[email protected]>
Cc: Jeremy Fitzhardinge <[email protected]>
Cc: Chris Wright <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/video/xen-fbfront.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c index 428d273be727..4abb0b9ed653 100644 --- a/drivers/video/xen-fbfront.c +++ b/drivers/video/xen-fbfront.c @@ -492,7 +492,7 @@ xenfb_make_preferred_console(void) return; acquire_console_sem(); - for (c = console_drivers; c; c = c->next) { + for_each_console(c) { if (!strcmp(c->name, "tty") && c->index == 0) break; } |