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
730e1a09
Commit
730e1a09
authored
Oct 09, 2002
by
Maksim Krasnyanskiy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize Bluetooth core using subsys_initcall().
parent
5b3e7241
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
9 deletions
+1
-9
net/bluetooth/af_bluetooth.c
net/bluetooth/af_bluetooth.c
+1
-1
net/socket.c
net/socket.c
+0
-8
No files found.
net/bluetooth/af_bluetooth.c
View file @
730e1a09
...
@@ -356,7 +356,7 @@ static void __exit bluez_cleanup(void)
...
@@ -356,7 +356,7 @@ static void __exit bluez_cleanup(void)
remove_proc_entry
(
"bluetooth"
,
NULL
);
remove_proc_entry
(
"bluetooth"
,
NULL
);
}
}
module_init
(
bluez_init
);
subsys_initcall
(
bluez_init
);
module_exit
(
bluez_cleanup
);
module_exit
(
bluez_cleanup
);
MODULE_AUTHOR
(
"Maxim Krasnyansky <maxk@qualcomm.com>"
);
MODULE_AUTHOR
(
"Maxim Krasnyansky <maxk@qualcomm.com>"
);
...
...
net/socket.c
View file @
730e1a09
...
@@ -1684,10 +1684,6 @@ extern void sk_init(void);
...
@@ -1684,10 +1684,6 @@ extern void sk_init(void);
extern
void
wanrouter_init
(
void
);
extern
void
wanrouter_init
(
void
);
#endif
#endif
#ifdef CONFIG_BLUEZ
extern
void
bluez_init
(
void
);
#endif
void
__init
sock_init
(
void
)
void
__init
sock_init
(
void
)
{
{
int
i
;
int
i
;
...
@@ -1748,10 +1744,6 @@ void __init sock_init(void)
...
@@ -1748,10 +1744,6 @@ void __init sock_init(void)
#ifdef CONFIG_NETFILTER
#ifdef CONFIG_NETFILTER
netfilter_init
();
netfilter_init
();
#endif
#endif
#ifdef CONFIG_BLUEZ
bluez_init
();
#endif
}
}
int
socket_get_info
(
char
*
buffer
,
char
**
start
,
off_t
offset
,
int
length
)
int
socket_get_info
(
char
*
buffer
,
char
**
start
,
off_t
offset
,
int
length
)
...
...
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