aboutsummaryrefslogtreecommitdiffstats
path: root/include/gen.h
diff options
context:
space:
mode:
authorJoerie de Gram <j.de.gram@gmail.com>2011-10-28 15:50:33 +0200
committerJoerie de Gram <j.de.gram@gmail.com>2011-10-28 18:04:42 +0200
commit635bcd54703a0ce4c7f2d4bab8b9d07cca04bbea (patch)
tree69505c1c76a9860e54bcfc4a57b4166464319848 /include/gen.h
parent29e098630b1767f4df537276144bc1db4e9112b0 (diff)
downloadexternal_libsamsung-ipc-635bcd54703a0ce4c7f2d4bab8b9d07cca04bbea.zip
external_libsamsung-ipc-635bcd54703a0ce4c7f2d4bab8b9d07cca04bbea.tar.gz
external_libsamsung-ipc-635bcd54703a0ce4c7f2d4bab8b9d07cca04bbea.tar.bz2
introduce device-specific includes, split h1/crespo gen_resp/net_regist
Diffstat (limited to 'include/gen.h')
-rw-r--r--include/gen.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/gen.h b/include/gen.h
index aae309b..e318168 100644
--- a/include/gen.h
+++ b/include/gen.h
@@ -21,13 +21,13 @@
#ifndef __GEN_H__
#define __GEN_H__
-#define IPC_GEN_PHONE_RES 0x8001
+#if defined(DEVICE_CRESPO)
+#include "device/crespo/gen.h"
+#elif defined(DEVICE_H1)
+#include "device/h1/gen.h"
+#endif
-struct ipc_gen_phone_res {
- unsigned char group, type;
- unsigned char unk;
- unsigned short code;
-} __attribute__((__packed__));
+#define IPC_GEN_PHONE_RES 0x8001
#endif