[PATCH_v2 13/13] android/hid: Align hal hid struct variables properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 android/hal-msg.h | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/android/hal-msg.h b/android/hal-msg.h
index 2c3067f..41ba649 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -282,9 +282,9 @@ struct hal_cmd_hid_set_protocol {
 
 #define HAL_OP_HID_GET_REPORT		0x07
 struct hal_cmd_hid_get_report {
-	uint8_t bdaddr[6];
-	uint8_t type;
-	uint8_t id;
+	uint8_t  bdaddr[6];
+	uint8_t  type;
+	uint8_t  id;
 	uint16_t buf;
 } __attribute__((packed));
 
@@ -448,16 +448,16 @@ struct hal_ev_hid_conn_state {
 
 #define HAL_EV_HID_INFO			0x82
 struct hal_ev_hid_info {
-	uint8_t bdaddr[6];
-	uint8_t attr;
-	uint8_t subclass;
-	uint8_t app_id;
+	uint8_t  bdaddr[6];
+	uint8_t  attr;
+	uint8_t  subclass;
+	uint8_t  app_id;
 	uint16_t vendor;
 	uint16_t product;
 	uint16_t version;
-	uint8_t country;
+	uint8_t  country;
 	uint16_t descr_len;
-	uint8_t descr[884];
+	uint8_t  descr[884];
 } __attribute__((packed));
 
 #define HAL_EV_HID_PROTO_MODE		0x83
-- 
1.8.1.2

--
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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux