diff options
Diffstat (limited to 'net/bluetooth/sco.c')
-rw-r--r-- | net/bluetooth/sco.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index 926ed39912ea..c9348ddda877 100644 --- a/net/bluetooth/sco.c +++ b/net/bluetooth/sco.c | |||
@@ -50,8 +50,6 @@ | |||
50 | #include <net/bluetooth/hci_core.h> | 50 | #include <net/bluetooth/hci_core.h> |
51 | #include <net/bluetooth/sco.h> | 51 | #include <net/bluetooth/sco.h> |
52 | 52 | ||
53 | #define VERSION "0.6" | ||
54 | |||
55 | static int disable_esco; | 53 | static int disable_esco; |
56 | 54 | ||
57 | static const struct proto_ops sco_sock_ops; | 55 | static const struct proto_ops sco_sock_ops; |
@@ -1024,7 +1022,7 @@ static struct hci_proto sco_hci_proto = { | |||
1024 | .recv_scodata = sco_recv_scodata | 1022 | .recv_scodata = sco_recv_scodata |
1025 | }; | 1023 | }; |
1026 | 1024 | ||
1027 | static int __init sco_init(void) | 1025 | int __init sco_init(void) |
1028 | { | 1026 | { |
1029 | int err; | 1027 | int err; |
1030 | 1028 | ||
@@ -1052,7 +1050,6 @@ static int __init sco_init(void) | |||
1052 | BT_ERR("Failed to create SCO debug file"); | 1050 | BT_ERR("Failed to create SCO debug file"); |
1053 | } | 1051 | } |
1054 | 1052 | ||
1055 | BT_INFO("SCO (Voice Link) ver %s", VERSION); | ||
1056 | BT_INFO("SCO socket layer initialized"); | 1053 | BT_INFO("SCO socket layer initialized"); |
1057 | 1054 | ||
1058 | return 0; | 1055 | return 0; |
@@ -1062,7 +1059,7 @@ error: | |||
1062 | return err; | 1059 | return err; |
1063 | } | 1060 | } |
1064 | 1061 | ||
1065 | static void __exit sco_exit(void) | 1062 | void __exit sco_exit(void) |
1066 | { | 1063 | { |
1067 | debugfs_remove(sco_debugfs); | 1064 | debugfs_remove(sco_debugfs); |
1068 | 1065 | ||
@@ -1075,14 +1072,5 @@ static void __exit sco_exit(void) | |||
1075 | proto_unregister(&sco_proto); | 1072 | proto_unregister(&sco_proto); |
1076 | } | 1073 | } |
1077 | 1074 | ||
1078 | module_init(sco_init); | ||
1079 | module_exit(sco_exit); | ||
1080 | |||
1081 | module_param(disable_esco, bool, 0644); | 1075 | module_param(disable_esco, bool, 0644); |
1082 | MODULE_PARM_DESC(disable_esco, "Disable eSCO connection creation"); | 1076 | MODULE_PARM_DESC(disable_esco, "Disable eSCO connection creation"); |
1083 | |||
1084 | MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>"); | ||
1085 | MODULE_DESCRIPTION("Bluetooth SCO ver " VERSION); | ||
1086 | MODULE_VERSION(VERSION); | ||
1087 | MODULE_LICENSE("GPL"); | ||
1088 | MODULE_ALIAS("bt-proto-2"); | ||