Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4228
b: refs/heads/master
c: 64e4da5
h: refs/heads/master
v: v3
  • Loading branch information
Milton Miller authored and Linus Torvalds committed Jul 8, 2005
1 parent ac13c87 commit c4419a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5f6d9c072df162a8601a09e6c63fd0e4f5aecd06
refs/heads/master: 64e4da57964c03da9a03087a398cade81b7bb496
8 changes: 2 additions & 6 deletions trunk/drivers/char/hvc_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ struct hvc_struct *hvc_get_by_index(int index)
* console interfaces but can still be used as a tty device. This has to be
* static because kmalloc will not work during early console init.
*/
static uint32_t vtermnos[MAX_NR_HVC_CONSOLES];

static uint32_t vtermnos[MAX_NR_HVC_CONSOLES] =
{[0 ... MAX_NR_HVC_CONSOLES - 1] = -1};

/*
* Console APIs, NOT TTY. These APIs are available immediately when
Expand Down Expand Up @@ -213,10 +213,6 @@ struct console hvc_con_driver = {
/* Early console initialization. Preceeds driver initialization. */
static int __init hvc_console_init(void)
{
int i;

for (i=0; i<MAX_NR_HVC_CONSOLES; i++)
vtermnos[i] = -1;
hvc_find_vtys();
register_console(&hvc_con_driver);
return 0;
Expand Down

0 comments on commit c4419a4

Please sign in to comment.