diff options
author | Simon Busch <morphis@gravedo.de> | 2011-10-19 08:12:01 +0200 |
---|---|---|
committer | Simon Busch <morphis@gravedo.de> | 2011-10-19 08:12:01 +0200 |
commit | 966378782da94cf58f31f7d5dd2a7f40c1029cf3 (patch) | |
tree | ccc1294106df6134f3b8a92289d3e736ce0e7964 | |
parent | 716efc1616437ebb96b0f1f0b3e21d439aecda7a (diff) | |
download | hardware_replicant_libsamsung-ipc-966378782da94cf58f31f7d5dd2a7f40c1029cf3.tar.gz hardware_replicant_libsamsung-ipc-966378782da94cf58f31f7d5dd2a7f40c1029cf3.tar.bz2 hardware_replicant_libsamsung-ipc-966378782da94cf58f31f7d5dd2a7f40c1029cf3.zip |
Reorder fields in generic phone response message
Signed-off-by: Simon Busch <morphis@gravedo.de>
-rw-r--r-- | include/gen.h | 8 | ||||
-rw-r--r-- | vapi/samsung-ipc-1.0.vapi | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/gen.h b/include/gen.h index 4b6b7bd..aae309b 100644 --- a/include/gen.h +++ b/include/gen.h @@ -21,12 +21,12 @@ #ifndef __GEN_H__ #define __GEN_H__ -#define IPC_GEN_PHONE_RES 0x8001 +#define IPC_GEN_PHONE_RES 0x8001 struct ipc_gen_phone_res { - unsigned char group, type; - unsigned short code; - unsigned char unk; + unsigned char group, type; + unsigned char unk; + unsigned short code; } __attribute__((__packed__)); #endif diff --git a/vapi/samsung-ipc-1.0.vapi b/vapi/samsung-ipc-1.0.vapi index c8036bc..262e607 100644 --- a/vapi/samsung-ipc-1.0.vapi +++ b/vapi/samsung-ipc-1.0.vapi @@ -193,8 +193,8 @@ namespace SamsungIpc { public uint8 group; public uint8 type; - public uint16 code; public uint8 unk; + public uint16 code; } [CCode (cname = "int", cprefix = "IPC_", has_type_id = false)] |