diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-06-02 10:25:01 -0700 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-06-02 10:25:01 -0700 |
commit | 1ef360e6ae96ca3e94fc73dccff8a14574101f15 (patch) | |
tree | be757022c8d748b48b948f579c018a12bdb83e46 | |
parent | 0b09df395a5cb1b4e8082de7c08f6060836a07d4 (diff) |
qmic: Add missing string type in structs
Structs can contain strings, we still don't encode and decode these but
this change makes the generated header file compilable.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
-rw-r--r-- | qmi_struct.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qmi_struct.c b/qmi_struct.c index 9953cd3..ffa9dbf 100644 --- a/qmi_struct.c +++ b/qmi_struct.c @@ -7,6 +7,7 @@ static const char *sz_simple_types[] = { [TYPE_U16] = "uint16_t", [TYPE_U32] = "uint32_t", [TYPE_U64] = "uint64_t", + [TYPE_STRING] = "char *", }; struct qmi_struct_member { |