aboutsummaryrefslogtreecommitdiffstats
path: root/include/misc.h
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2011-10-29 23:38:16 +0200
committerPaulK <contact@paulk.fr>2011-10-29 23:38:16 +0200
commit3e24a8ae9c14cba2aa44d487e89374f7d6275111 (patch)
tree14cc81a11fd17b0e54010ef78cfb2b8e09ad41ae /include/misc.h
parent620de92a23c0dd335512d4fb220eac5469ccae37 (diff)
downloadexternal_libsamsung-ipc-3e24a8ae9c14cba2aa44d487e89374f7d6275111.zip
external_libsamsung-ipc-3e24a8ae9c14cba2aa44d487e89374f7d6275111.tar.gz
external_libsamsung-ipc-3e24a8ae9c14cba2aa44d487e89374f7d6275111.tar.bz2
Fixed struct ipc_misc_me_version for crespo (1 byte offset)
Diffstat (limited to 'include/misc.h')
-rw-r--r--include/misc.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/misc.h b/include/misc.h
index 550a931..475c532 100644
--- a/include/misc.h
+++ b/include/misc.h
@@ -21,6 +21,12 @@
#ifndef __MISC_H__
#define __MISC_H__
+#if defined(DEVICE_CRESPO)
+#include "device/crespo/misc.h"
+#elif defined(DEVICE_H1)
+#include "device/h1/misc.h"
+#endif
+
struct ipc_message_info;
#define IPC_MISC_ME_VERSION 0x0A01
@@ -28,13 +34,6 @@ struct ipc_message_info;
#define IPC_MISC_ME_SN 0x0A03
#define IPC_MISC_TIME_INFO 0x0A07
-struct ipc_misc_me_version {
- char sw_version[32];
- char hw_version[32];
- char cal_date[32];
- char misc[32];
-} __attribute__((__packed__));
-
struct ipc_misc_time_info {
unsigned char tz_valid, daylight_valid;
unsigned char year, mon, day;