aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2016-08-30 05:00:35 +0200
committerMarcel Holtmann <marcel@holtmann.org>2016-09-19 20:19:34 +0200
commit9e8305b39bfa23a83b932007654097f4676c2ba2 (patch)
treea210480cb146003a6fd0b3e316d343289e8922fe /include
parentBluetooth: Introduce helper functions for socket cookie handling (diff)
downloadlinux-dev-9e8305b39bfa23a83b932007654097f4676c2ba2.tar.xz
linux-dev-9e8305b39bfa23a83b932007654097f4676c2ba2.zip
Bluetooth: Use numbers for subsystem version string
Instead of keeping a version string around, use version and revision numbers and then stringify them for use as module parameter. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/bluetooth.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h
index 69b5174168b7..d705bcf40710 100644
--- a/include/net/bluetooth/bluetooth.h
+++ b/include/net/bluetooth/bluetooth.h
@@ -29,7 +29,8 @@
#include <net/sock.h>
#include <linux/seq_file.h>
-#define BT_SUBSYS_VERSION "2.21"
+#define BT_SUBSYS_VERSION 2
+#define BT_SUBSYS_REVISION 21
#ifndef AF_BLUETOOTH
#define AF_BLUETOOTH 31