From: "Alice Guo (OSS)" <alice.guo@oss.nxp.com>
To: linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org,
rafael@kernel.org
Subject: [PATCH v1] base: soc: export soc_device_to_device API
Date: Tue, 13 Jul 2021 16:12:55 +0800 [thread overview]
Message-ID: <20210713081255.17308-1-alice.guo@oss.nxp.com> (raw)
From: Alice Guo <alice.guo@nxp.com>
Driver which uses soc_device_to_device needs to be built as a module, so
export this API.
Signed-off-by: Alice Guo <alice.guo@nxp.com>
---
drivers/base/soc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/base/soc.c b/drivers/base/soc.c
index 0af5363a582c..6b3db25611ee 100644
--- a/drivers/base/soc.c
+++ b/drivers/base/soc.c
@@ -41,6 +41,7 @@ struct device *soc_device_to_device(struct soc_device *soc_dev)
{
return &soc_dev->dev;
}
+EXPORT_SYMBOL_GPL(soc_device_to_device);
static umode_t soc_attribute_mode(struct kobject *kobj,
struct attribute *attr,
--
2.17.1
next reply other threads:[~2021-07-13 8:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-13 8:12 Alice Guo (OSS) [this message]
2021-07-13 10:46 ` Greg KH
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=20210713081255.17308-1-alice.guo@oss.nxp.com \
--to=alice.guo@oss.nxp.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@kernel.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
all inboxes | Powered by JetHome®