Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232584
b: refs/heads/master
c: a2a6a82
h: refs/heads/master
v: v3
  • Loading branch information
Kay Sievers authored and Greg Kroah-Hartman committed Jan 23, 2011
1 parent 7e25c67 commit 2c5e9eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: c55c63c6539499379ab4a7e8a5c0f857351fb946
refs/heads/master: a2a6a822adc2a91c677cb60e9bc6ffe26fa90e9f
4 changes: 2 additions & 2 deletions trunk/drivers/tty/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -3257,7 +3257,7 @@ static ssize_t show_cons_active(struct device *dev,
ssize_t count = 0;

acquire_console_sem();
for (c = console_drivers; c; c = c->next) {
for_each_console(c) {
if (!c->device)
continue;
if (!c->write)
Expand Down Expand Up @@ -3306,7 +3306,7 @@ int __init tty_init(void)
if (IS_ERR(consdev))
consdev = NULL;
else
device_create_file(consdev, &dev_attr_active);
WARN_ON(device_create_file(consdev, &dev_attr_active) < 0);

#ifdef CONFIG_VT
vty_init(&console_fops);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/tty/vt/vt.c
Original file line number Diff line number Diff line change
Expand Up @@ -2994,7 +2994,7 @@ int __init vty_init(const struct file_operations *console_fops)
if (IS_ERR(tty0dev))
tty0dev = NULL;
else
device_create_file(tty0dev, &dev_attr_active);
WARN_ON(device_create_file(tty0dev, &dev_attr_active) < 0);

vcs_init();

Expand Down

0 comments on commit 2c5e9eb

Please sign in to comment.