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
nexedi
linux
Commits
eb177f2d
Commit
eb177f2d
authored
Apr 20, 2003
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] devfs: sjcd
parent
d14fa1a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
drivers/cdrom/sjcd.c
drivers/cdrom/sjcd.c
+1
-4
No files found.
drivers/cdrom/sjcd.c
View file @
eb177f2d
...
...
@@ -70,7 +70,6 @@
#include <linux/string.h>
#include <linux/major.h>
#include <linux/init.h>
#include <linux/devfs_fs_kernel.h>
#include <asm/system.h>
#include <asm/io.h>
...
...
@@ -1692,6 +1691,7 @@ static int __init sjcd_init(void)
sjcd_disk
->
first_minor
=
0
,
sjcd_disk
->
fops
=
&
sjcd_fops
,
sprintf
(
sjcd_disk
->
disk_name
,
"sjcd"
);
sprintf
(
sjcd_disk
->
devfs_name
,
"sjcd"
);
if
(
check_region
(
sjcd_base
,
4
))
{
printk
...
...
@@ -1778,8 +1778,6 @@ static int __init sjcd_init(void)
}
printk
(
KERN_INFO
"SJCD: Status: port=0x%x.
\n
"
,
sjcd_base
);
devfs_register
(
NULL
,
"sjcd"
,
DEVFS_FL_DEFAULT
,
MAJOR_NR
,
0
,
S_IFBLK
|
S_IRUGO
|
S_IWUGO
,
&
sjcd_fops
,
NULL
);
sjcd_disk
->
queue
=
&
sjcd_queue
;
add_disk
(
sjcd_disk
);
...
...
@@ -1798,7 +1796,6 @@ static int __init sjcd_init(void)
static
void
__exit
sjcd_exit
(
void
)
{
devfs_remove
(
"sjcd"
);
del_gendisk
(
sjcd_disk
);
put_disk
(
sjcd_disk
);
release_region
(
sjcd_base
,
4
);
...
...
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