projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Make MODULE_DEVICE_TABLE work for vio devices
[powerpc.git]
/
drivers
/
char
/
vt.c
diff --git
a/drivers/char/vt.c
b/drivers/char/vt.c
index
30d9673
..
665103c
100644
(file)
--- a/
drivers/char/vt.c
+++ b/
drivers/char/vt.c
@@
-2433,7
+2433,7
@@
static int con_open(struct tty_struct *tty, struct file *filp)
int ret = 0;
acquire_console_sem();
- if (tty->
count == 1
) {
+ if (tty->
driver_data == NULL
) {
ret = vc_allocate(currcons);
if (ret == 0) {
struct vc_data *vc = vc_cons[currcons].d;