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
ec30d80b
Commit
ec30d80b
authored
Aug 14, 2003
by
Randy Dunlap
Committed by
Linus Torvalds
Aug 14, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] janitor: dvb: return register_chrdev value
From: Daniele Bellucci <bellucda@tiscali.it>
parent
e4cd9b64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/media/dvb/dvb-core/dvbdev.c
drivers/media/dvb/dvb-core/dvbdev.c
+4
-4
No files found.
drivers/media/dvb/dvb-core/dvbdev.c
View file @
ec30d80b
...
@@ -299,14 +299,14 @@ int dvb_unregister_adapter(struct dvb_adapter *adap)
...
@@ -299,14 +299,14 @@ int dvb_unregister_adapter(struct dvb_adapter *adap)
static
int
__init
init_dvbdev
(
void
)
static
int
__init
init_dvbdev
(
void
)
{
{
int
retval
;
devfs_mk_dir
(
"dvb"
);
devfs_mk_dir
(
"dvb"
);
if
(
register_chrdev
(
DVB_MAJOR
,
"DVB"
,
&
dvb_device_fops
))
{
retval
=
register_chrdev
(
DVB_MAJOR
,
"DVB"
,
&
dvb_device_fops
);
if
(
retval
)
printk
(
"video_dev: unable to get major %d
\n
"
,
DVB_MAJOR
);
printk
(
"video_dev: unable to get major %d
\n
"
,
DVB_MAJOR
);
return
-
EIO
;
}
return
0
;
return
retval
;
}
}
...
...
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