Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
f8b65e50
Commit
f8b65e50
authored
May 07, 2003
by
Greg Kroah-Hartman
Committed by
Linus Torvalds
May 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TTY: fix up lost devfs_mk_cdev change.
parent
438ea4e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
drivers/char/tty_io.c
drivers/char/tty_io.c
+1
-2
No files found.
drivers/char/tty_io.c
View file @
f8b65e50
...
...
@@ -2196,8 +2196,7 @@ void tty_register_device(struct tty_driver *driver, unsigned index,
}
tty_line_name
(
driver
,
index
,
name
);
devfs_register
(
NULL
,
name
,
0
,
MAJOR
(
dev
),
MINOR
(
dev
),
S_IFCHR
|
S_IRUSR
|
S_IWUSR
,
&
tty_fops
,
NULL
);
devfs_mk_cdev
(
dev
,
S_IFCHR
|
S_IRUSR
|
S_IWUSR
,
name
);
/* stupid console driver devfs names... change vc/X into ttyX */
if
(
driver
->
type
==
TTY_DRIVER_TYPE_CONSOLE
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment