diff options
-rw-r--r-- | drivers/hid/hid-roccat-kone.h | 3 | ||||
-rw-r--r-- | drivers/hid/hid-roccat-pyra.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/hid/hid-roccat-kone.h b/drivers/hid/hid-roccat-kone.h index 130d6566ea82..11203a75b0f9 100644 --- a/drivers/hid/hid-roccat-kone.h +++ b/drivers/hid/hid-roccat-kone.h | |||
@@ -14,6 +14,9 @@ | |||
14 | 14 | ||
15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
16 | 16 | ||
17 | /* | ||
18 | * Binary data structures used for hardware communication must have no padding. | ||
19 | */ | ||
17 | #pragma pack(push) | 20 | #pragma pack(push) |
18 | #pragma pack(1) | 21 | #pragma pack(1) |
19 | 22 | ||
diff --git a/drivers/hid/hid-roccat-pyra.h b/drivers/hid/hid-roccat-pyra.h index 22f80a8f26f9..ac5996e8817c 100644 --- a/drivers/hid/hid-roccat-pyra.h +++ b/drivers/hid/hid-roccat-pyra.h | |||
@@ -14,6 +14,9 @@ | |||
14 | 14 | ||
15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
16 | 16 | ||
17 | /* | ||
18 | * Binary data structures used for hardware communication must have no padding. | ||
19 | */ | ||
17 | #pragma pack(push) | 20 | #pragma pack(push) |
18 | #pragma pack(1) | 21 | #pragma pack(1) |
19 | 22 | ||