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
fc39ecaa
Commit
fc39ecaa
authored
Dec 03, 2002
by
Alexander Viro
Committed by
Linus Torvalds
Dec 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ide cleanup
switched to devfs_remove(), killed gratitious devfs_handle_t variable.
parent
e2d115ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
drivers/ide/ide.c
drivers/ide/ide.c
+2
-4
No files found.
drivers/ide/ide.c
View file @
fc39ecaa
...
...
@@ -2346,11 +2346,9 @@ EXPORT_SYMBOL(ide_fops);
/*
* Probe module
*/
devfs_handle_t
ide_devfs_handle
;
EXPORT_SYMBOL
(
ide_lock
);
EXPORT_SYMBOL
(
ide_probe
);
EXPORT_SYMBOL
(
ide_devfs_handle
);
struct
bus_type
ide_bus_type
=
{
.
name
=
"ide"
,
...
...
@@ -2364,7 +2362,7 @@ int __init ide_init (void)
static
char
banner_printed
;
if
(
!
banner_printed
)
{
printk
(
KERN_INFO
"Uniform Multi-Platform E-IDE driver "
REVISION
"
\n
"
);
ide_devfs_handle
=
devfs_mk_dir
(
NULL
,
"ide"
,
NULL
);
devfs_mk_dir
(
NULL
,
"ide"
,
NULL
);
system_bus_speed
=
ide_system_bus_speed
();
banner_printed
=
1
;
}
...
...
@@ -2420,7 +2418,7 @@ void cleanup_module (void)
#ifdef CONFIG_PROC_FS
proc_ide_destroy
();
#endif
devfs_
unregister
(
ide_devfs_handle
);
devfs_
remove
(
"ide"
);
bus_unregister
(
&
ide_bus_type
);
}
...
...
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