diff options
Diffstat (limited to 'drivers/video/xen-fbfront.c')
-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 428d273be72..4abb0b9ed65 100644 --- a/drivers/video/xen-fbfront.c +++ b/drivers/video/xen-fbfront.c | |||
@@ -492,7 +492,7 @@ xenfb_make_preferred_console(void) | |||
492 | return; | 492 | return; |
493 | 493 | ||
494 | acquire_console_sem(); | 494 | acquire_console_sem(); |
495 | for (c = console_drivers; c; c = c->next) { | 495 | for_each_console(c) { |
496 | if (!strcmp(c->name, "tty") && c->index == 0) | 496 | if (!strcmp(c->name, "tty") && c->index == 0) |
497 | break; | 497 | break; |
498 | } | 498 | } |