From: Giacinto Cifelli <gciofono@gmail.com>
To: ofono@ofono.org
Subject: [PATCH 2/2] src/lte.c: added implementation for ofono_lte_get_modem
Date: Sat, 22 Sep 2018 12:04:01 +0200 [thread overview]
Message-ID: <20180922100401.14889-2-gciofono@gmail.com> (raw)
In-Reply-To: <20180922100401.14889-1-gciofono@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
---
src/lte.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/lte.c b/src/lte.c
index e16d9aab..23fe8e1c 100644
--- a/src/lte.c
+++ b/src/lte.c
@@ -373,3 +373,8 @@ void *ofono_lte_get_data(const struct ofono_lte *lte)
{
return lte->driver_data;
}
+
+struct ofono_modem *ofono_lte_get_modem(const struct ofono_lte *lte)
+{
+ return __ofono_atom_get_modem(lte->atom);
+}
--
2.17.1
next prev parent 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 [PATCH 1/2] lte.h: added ofono_lte_get_modem global function Giacinto Cifelli
2018-09-22 10:04 ` Giacinto Cifelli [this message]
2018-09-22 11:49 ` [PATCH 2/2] src/lte.c: added implementation for ofono_lte_get_modem 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-2-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