summaryrefslogtreecommitdiff
path: root/profiles/input
diff options
context:
space:
mode:
authorManish Mandlik <mmandlik@google.com>2020-06-10 09:22:04 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-06-16 10:11:16 -0700
commit6156983a58af0ed9144cca196a6a0dc09a9c1f2b (patch)
treede2014bfbb5019cf66e6b77a3318519767a05887 /profiles/input
parentf34b7e0ba8cdbabf5e26daa305b99834fbdd9844 (diff)
downloadbluez-6156983a58af0ed9144cca196a6a0dc09a9c1f2b.tar.gz
lib: Move HOG UUID definition
HOG UUID is defined at multiple places in the code. Move that definition to lib/uuid.h where all other UUIDs are defined.
Diffstat (limited to 'profiles/input')
-rw-r--r--profiles/input/hog-lib.c1
-rw-r--r--profiles/input/hog.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/profiles/input/hog-lib.c b/profiles/input/hog-lib.c
index a544e062c..e96c969b7 100644
--- a/profiles/input/hog-lib.c
+++ b/profiles/input/hog-lib.c
@@ -61,7 +61,6 @@
#include "profiles/battery/bas.h"
#include "profiles/input/hog-lib.h"
-#define HOG_UUID "00001812-0000-1000-8000-00805f9b34fb"
#define HOG_UUID16 0x1812
#define HOG_INFO_UUID 0x2A4A
diff --git a/profiles/input/hog.c b/profiles/input/hog.c
index 327a1d1c3..9335b7e8b 100644
--- a/profiles/input/hog.c
+++ b/profiles/input/hog.c
@@ -60,8 +60,6 @@
#include "attrib/gatt.h"
#include "hog-lib.h"
-#define HOG_UUID "00001812-0000-1000-8000-00805f9b34fb"
-
struct hog_device {
struct btd_device *device;
struct bt_hog *hog;