aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-04-04 19:11:17 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-04-05 17:40:59 +0200
commit239daee506f4b6e320dde8042b4127d310c782de (patch)
tree6852e972ab1f3e7e64cb58747d17b92d50318c23
parent43e54b2441e77e7328d9e9c19e0df294f4a1394d (diff)
downloadhardware_replicant_libsamsung-ipc-239daee506f4b6e320dde8042b4127d310c782de.tar.gz
hardware_replicant_libsamsung-ipc-239daee506f4b6e320dde8042b4127d310c782de.tar.bz2
hardware_replicant_libsamsung-ipc-239daee506f4b6e320dde8042b4127d310c782de.zip
includes: gen.h: switch to Linux code style
This contains no functional changes. The commented out code if any has also been preserved as it could be relevant to the understanding of the code. It will be kept until we understand why the code has been commented. In that case we either need to remove it completely or to replace it by a comment explaining why not having that code was necessary. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--include/gen.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/include/gen.h b/include/gen.h
index 8013df6..0dc9ff6 100644
--- a/include/gen.h
+++ b/include/gen.h
@@ -27,23 +27,23 @@
* Commands
*/
-#define IPC_GEN_PHONE_RES 0x8001
+#define IPC_GEN_PHONE_RES 0x8001
/*
* Values
*/
-#define IPC_GEN_PHONE_RES_CODE_SUCCESS 0x8000
+#define IPC_GEN_PHONE_RES_CODE_SUCCESS 0x8000
/*
* Structures
*/
struct ipc_gen_phone_res_data {
- unsigned char group;
- unsigned char index;
- unsigned char type;
- unsigned short code;
+ unsigned char group;
+ unsigned char index;
+ unsigned char type;
+ unsigned short code;
} __attribute__((__packed__));
/*
@@ -52,6 +52,4 @@ struct ipc_gen_phone_res_data {
int ipc_gen_phone_res_check(const struct ipc_gen_phone_res_data *data);
-#endif
-
-// vim:ts=4:sw=4:expandtab
+#endif /* __SAMSUNG_IPC_GEN_H__ */