From: Mariusz Skamra <mariusz.skamra@xxxxxxxxx> This patch moves the HOG_UUID define to lib/uuid. --- android/hidhost.c | 2 -- android/hog.c | 2 -- lib/uuid.h | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/android/hidhost.c b/android/hidhost.c index 0f28120..e1392f6 100644 --- a/android/hidhost.c +++ b/android/hidhost.c @@ -90,8 +90,6 @@ /* HID Virtual Cable Unplug */ #define HID_VIRTUAL_CABLE_UNPLUG 0x05 -#define HOG_UUID "00001812-0000-1000-8000-00805f9b34fb" - static bdaddr_t adapter_addr; static GIOChannel *ctrl_io = NULL; diff --git a/android/hog.c b/android/hog.c index 4dcba4d..fda7a88 100644 --- a/android/hog.c +++ b/android/hog.c @@ -61,8 +61,6 @@ #include "android/bas.h" #include "android/hog.h" -#define HOG_UUID "00001812-0000-1000-8000-00805f9b34fb" - #define HOG_INFO_UUID 0x2A4A #define HOG_REPORT_MAP_UUID 0x2A4B #define HOG_REPORT_UUID 0x2A4D diff --git a/lib/uuid.h b/lib/uuid.h index 2dcfe9e..fd67ebb 100644 --- a/lib/uuid.h +++ b/lib/uuid.h @@ -88,6 +88,7 @@ extern "C" { #define HDP_SINK_UUID "00001402-0000-1000-8000-00805f9b34fb" #define HID_UUID "00001124-0000-1000-8000-00805f9b34fb" +#define HOG_UUID "00001812-0000-1000-8000-00805f9b34fb" #define DUN_GW_UUID "00001103-0000-1000-8000-00805f9b34fb" -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html