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
a2610cd5
Commit
a2610cd5
authored
Apr 20, 2003
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] devfs: aztcd
parent
f0d80e91
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
drivers/cdrom/aztcd.c
drivers/cdrom/aztcd.c
+1
-6
No files found.
drivers/cdrom/aztcd.c
View file @
a2610cd5
...
@@ -180,7 +180,6 @@
...
@@ -180,7 +180,6 @@
#include <linux/ioport.h>
#include <linux/ioport.h>
#include <linux/string.h>
#include <linux/string.h>
#include <linux/major.h>
#include <linux/major.h>
#include <linux/devfs_fs_kernel.h>
#include <linux/init.h>
#include <linux/init.h>
...
@@ -1922,12 +1921,9 @@ static int __init aztcd_init(void)
...
@@ -1922,12 +1921,9 @@ static int __init aztcd_init(void)
azt_disk
->
first_minor
=
0
;
azt_disk
->
first_minor
=
0
;
azt_disk
->
fops
=
&
azt_fops
;
azt_disk
->
fops
=
&
azt_fops
;
sprintf
(
azt_disk
->
disk_name
,
"aztcd"
);
sprintf
(
azt_disk
->
disk_name
,
"aztcd"
);
sprintf
(
azt_disk
->
devfs_name
,
"aztcd"
);
azt_disk
->
queue
=
&
azt_queue
;
azt_disk
->
queue
=
&
azt_queue
;
add_disk
(
azt_disk
);
add_disk
(
azt_disk
);
devfs_register
(
NULL
,
"aztcd"
,
DEVFS_FL_DEFAULT
,
azt_disk
->
major
,
azt_disk
->
first_minor
,
S_IFBLK
|
S_IRUGO
|
S_IWUGO
,
azt_disk
->
fops
,
NULL
);
azt_invalidate_buffers
();
azt_invalidate_buffers
();
aztPresent
=
1
;
aztPresent
=
1
;
aztCloseDoor
();
aztCloseDoor
();
...
@@ -1946,7 +1942,6 @@ static int __init aztcd_init(void)
...
@@ -1946,7 +1942,6 @@ static int __init aztcd_init(void)
static
void
__exit
aztcd_exit
(
void
)
static
void
__exit
aztcd_exit
(
void
)
{
{
devfs_remove
(
"aztcd"
);
del_gendisk
(
azt_disk
);
del_gendisk
(
azt_disk
);
put_disk
(
azt_disk
);
put_disk
(
azt_disk
);
if
((
unregister_blkdev
(
MAJOR_NR
,
"aztcd"
)
==
-
EINVAL
))
{
if
((
unregister_blkdev
(
MAJOR_NR
,
"aztcd"
)
==
-
EINVAL
))
{
...
...
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