From: Giacinto Cifelli <gciofono@gmail.com>
To: ofono@ofono.org
Subject: [PATCH 1/2] lte.h: added ofono_lte_get_modem global function
Date: Sat, 22 Sep 2018 12:04:00 +0200 [thread overview]
Message-ID: <20180922100401.14889-1-gciofono@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 571 bytes --]
this function can be used in the drivers to query the functions
ofono_modem_get_* to retrieve modem-specific properties
---
include/lte.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/lte.h b/include/lte.h
index ef84ab99..0f2501c0 100644
--- a/include/lte.h
+++ b/include/lte.h
@@ -61,6 +61,8 @@ void ofono_lte_set_data(struct ofono_lte *lte, void *data);
void *ofono_lte_get_data(const struct ofono_lte *lte);
+struct ofono_modem *ofono_lte_get_modem(const struct ofono_lte *lte);
+
#ifdef __cplusplus
}
#endif
--
2.17.1
next reply other threads:[~2018-09-22 10:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-22 10:04 Giacinto Cifelli [this message]
2018-09-22 10:04 ` [PATCH 2/2] src/lte.c: added implementation for ofono_lte_get_modem Giacinto Cifelli
2018-09-22 11:49 ` Giacinto Cifelli
2018-09-22 11:49 ` [PATCH 1/2] lte.h: added ofono_lte_get_modem global function Giacinto Cifelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180922100401.14889-1-gciofono@gmail.com \
--to=gciofono@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox