From 1d117b0cc2dcb68d842891cfe235d52f4b16b4f0 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 14 Mar 2004 20:06:25 +0100 Subject: [PATCH] [Bluetooth] Make use of the MODULE_VERSION macro Each module contains a version number and this patch uses MODULE_VERSION to make it visible through modinfo. --- drivers/bluetooth/bcm203x.c | 1 + drivers/bluetooth/bfusb.c | 1 + drivers/bluetooth/hci_ldisc.c | 1 + drivers/bluetooth/hci_usb.c | 1 + net/bluetooth/af_bluetooth.c | 1 + net/bluetooth/bnep/core.c | 5 +++-- net/bluetooth/bnep/netdev.c | 2 +- net/bluetooth/bnep/sock.c | 2 +- net/bluetooth/cmtp/core.c | 1 + net/bluetooth/l2cap.c | 1 + net/bluetooth/rfcomm/core.c | 1 + net/bluetooth/sco.c | 1 + 12 files changed, 14 insertions(+), 4 deletions(-) diff --git a/drivers/bluetooth/bcm203x.c b/drivers/bluetooth/bcm203x.c index 12e44029a38a9..03c5df973d3c1 100644 --- a/drivers/bluetooth/bcm203x.c +++ b/drivers/bluetooth/bcm203x.c @@ -306,4 +306,5 @@ module_exit(bcm203x_cleanup); MODULE_AUTHOR("Marcel Holtmann "); MODULE_DESCRIPTION("Broadcom Blutonium firmware driver ver " VERSION); +MODULE_VERSION(VERSION); MODULE_LICENSE("GPL"); diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c index ac2bdf2120e34..4efae3a97fcee 100644 --- a/drivers/bluetooth/bfusb.c +++ b/drivers/bluetooth/bfusb.c @@ -789,4 +789,5 @@ module_exit(bfusb_cleanup); MODULE_AUTHOR("Marcel Holtmann "); MODULE_DESCRIPTION("BlueFRITZ! USB driver ver " VERSION); +MODULE_VERSION(VERSION); MODULE_LICENSE("GPL"); diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c index caf25e9a55015..80031f5ed9bba 100644 --- a/drivers/bluetooth/hci_ldisc.c +++ b/drivers/bluetooth/hci_ldisc.c @@ -580,5 +580,6 @@ module_exit(hci_uart_cleanup); MODULE_AUTHOR("Maxim Krasnyansky "); MODULE_DESCRIPTION("Bluetooth HCI UART driver ver " VERSION); +MODULE_VERSION(VERSION); MODULE_LICENSE("GPL"); MODULE_ALIAS_LDISC(N_HCI); diff --git a/drivers/bluetooth/hci_usb.c b/drivers/bluetooth/hci_usb.c index e288e65947d96..988062080a3d2 100644 --- a/drivers/bluetooth/hci_usb.c +++ b/drivers/bluetooth/hci_usb.c @@ -1013,4 +1013,5 @@ module_exit(hci_usb_cleanup); MODULE_AUTHOR("Maxim Krasnyansky , Marcel Holtmann "); MODULE_DESCRIPTION("Bluetooth HCI USB driver ver " VERSION); +MODULE_VERSION(VERSION); MODULE_LICENSE("GPL"); diff --git a/net/bluetooth/af_bluetooth.c b/net/bluetooth/af_bluetooth.c index 910bb0bdf7e5c..1817c7919ce3e 100644 --- a/net/bluetooth/af_bluetooth.c +++ b/net/bluetooth/af_bluetooth.c @@ -381,5 +381,6 @@ module_exit(bt_cleanup); MODULE_AUTHOR("Maxim Krasnyansky , Marcel Holtmann "); MODULE_DESCRIPTION("Bluetooth Core ver " VERSION); +MODULE_VERSION(VERSION); MODULE_LICENSE("GPL"); MODULE_ALIAS_NETPROTO(PF_BLUETOOTH); diff --git a/net/bluetooth/bnep/core.c b/net/bluetooth/bnep/core.c index 7bfd15c28e031..81d4e82cfa957 100644 --- a/net/bluetooth/bnep/core.c +++ b/net/bluetooth/bnep/core.c @@ -5,7 +5,7 @@ Clément Moreau David Libault - Copyright (C) 2002 Maxim Krasnyanskiy + Copyright (C) 2002 Maxim Krasnyansky This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as @@ -702,7 +702,8 @@ static void __exit bnep_cleanup_module(void) module_init(bnep_init_module); module_exit(bnep_cleanup_module); +MODULE_AUTHOR("David Libault , Maxim Krasnyansky "); MODULE_DESCRIPTION("Bluetooth BNEP ver " VERSION); -MODULE_AUTHOR("David Libault , Maxim Krasnyanskiy "); +MODULE_VERSION(VERSION); MODULE_LICENSE("GPL"); MODULE_ALIAS("bt-proto-4"); diff --git a/net/bluetooth/bnep/netdev.c b/net/bluetooth/bnep/netdev.c index 99eff2e89a97a..921204f95f4a1 100644 --- a/net/bluetooth/bnep/netdev.c +++ b/net/bluetooth/bnep/netdev.c @@ -5,7 +5,7 @@ Clément Moreau David Libault - Copyright (C) 2002 Maxim Krasnyanskiy + Copyright (C) 2002 Maxim Krasnyansky This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as diff --git a/net/bluetooth/bnep/sock.c b/net/bluetooth/bnep/sock.c index 5bc0266daf8b2..0978a58b77037 100644 --- a/net/bluetooth/bnep/sock.c +++ b/net/bluetooth/bnep/sock.c @@ -4,7 +4,7 @@ Written 2001-2002 by David Libault - Copyright (C) 2002 Maxim Krasnyanskiy + Copyright (C) 2002 Maxim Krasnyansky This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as diff --git a/net/bluetooth/cmtp/core.c b/net/bluetooth/cmtp/core.c index c5243ce93e673..d0d3d086e1c0b 100644 --- a/net/bluetooth/cmtp/core.c +++ b/net/bluetooth/cmtp/core.c @@ -503,5 +503,6 @@ module_exit(exit_cmtp); MODULE_AUTHOR("Marcel Holtmann "); MODULE_DESCRIPTION("Bluetooth CMTP ver " VERSION); +MODULE_VERSION(VERSION); MODULE_LICENSE("GPL"); MODULE_ALIAS("bt-proto-5"); diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c index c7dfcd9cf2427..56a91a619743f 100644 --- a/net/bluetooth/l2cap.c +++ b/net/bluetooth/l2cap.c @@ -2201,5 +2201,6 @@ module_exit(l2cap_cleanup); MODULE_AUTHOR("Maxim Krasnyansky "); MODULE_DESCRIPTION("Bluetooth L2CAP ver " VERSION); +MODULE_VERSION(VERSION); MODULE_LICENSE("GPL"); MODULE_ALIAS("bt-proto-0"); diff --git a/net/bluetooth/rfcomm/core.c b/net/bluetooth/rfcomm/core.c index 4679a0242b70d..090ff6db0fb59 100644 --- a/net/bluetooth/rfcomm/core.c +++ b/net/bluetooth/rfcomm/core.c @@ -1992,5 +1992,6 @@ module_exit(rfcomm_cleanup); MODULE_AUTHOR("Maxim Krasnyansky , Marcel Holtmann "); MODULE_DESCRIPTION("Bluetooth RFCOMM ver " VERSION); +MODULE_VERSION(VERSION); MODULE_LICENSE("GPL"); MODULE_ALIAS("bt-proto-3"); diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index 27c0f9ac30079..4ccc42d2c904c 100644 --- a/net/bluetooth/sco.c +++ b/net/bluetooth/sco.c @@ -1054,5 +1054,6 @@ module_exit(sco_cleanup); MODULE_AUTHOR("Maxim Krasnyansky "); MODULE_DESCRIPTION("Bluetooth SCO ver " VERSION); +MODULE_VERSION(VERSION); MODULE_LICENSE("GPL"); MODULE_ALIAS("bt-proto-2"); -- 2.53.0