From: Vaishali Thakkar <vaishali.thakkar@linaro.org>
To: agross@kernel.org
Cc: david.brown@linaro.org, gregkh@linuxfoundation.org,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
rafael@kernel.org, bjorn.andersson@linaro.org, vkoul@kernel.org,
Vaishali Thakkar <vaishali.thakkar@linaro.org>
Subject: [PATCH v5 2/5] base: soc: Export soc_device_register/unregister APIs
Date: Fri, 12 Jul 2019 03:09:08 +0530 [thread overview]
Message-ID: <20190711213911.23180-3-vaishali.thakkar@linaro.org> (raw)
In-Reply-To: <20190711213911.23180-1-vaishali.thakkar@linaro.org>
From: Vinod Koul <vkoul@kernel.org>
Qcom Socinfo driver can be built as a module, so
export these two APIs.
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Vaishali Thakkar <vaishali.thakkar@linaro.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
Changes since v4:
- Add Bjorn and Stephen's Reviewed-by
Changes since v3:
- Add Greg's Reviewed-by
Changes since v2:
- None
Changes since v1:
- Make comment more clear for the case when serial
number is not available
---
drivers/base/soc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/base/soc.c b/drivers/base/soc.c
index b0933b9fe67f..7c0c5ca5953d 100644
--- a/drivers/base/soc.c
+++ b/drivers/base/soc.c
@@ -166,0 +167 @@ struct soc_device *soc_device_register(struct soc_device_attribute *soc_dev_attr
+EXPORT_SYMBOL_GPL(soc_device_register);
@@ -175,0 +177 @@ void soc_device_unregister(struct soc_device *soc_dev)
+EXPORT_SYMBOL_GPL(soc_device_unregister);
--
2.17.1
next prev parent reply other threads:[~2019-07-11 21:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-11 21:39 [PATCH v5 0/5] soc: qcom: Add SoC info driver Vaishali Thakkar
2019-07-11 21:39 ` [PATCH v5 1/5] base: soc: Add serial_number attribute to soc Vaishali Thakkar
2019-07-11 21:39 ` Vaishali Thakkar [this message]
2019-07-11 21:39 ` [PATCH v5 3/5] soc: qcom: Add socinfo driver Vaishali Thakkar
2019-07-11 21:39 ` [PATCH v5 4/5] soc: qcom: socinfo: Expose custom attributes Vaishali Thakkar
2019-07-11 21:39 ` [PATCH v5 5/5] soc: qcom: socinfo: Expose image information Vaishali Thakkar
2019-07-22 23:23 ` [PATCH v5 0/5] soc: qcom: Add SoC info driver Bjorn Andersson
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=20190711213911.23180-3-vaishali.thakkar@linaro.org \
--to=vaishali.thakkar@linaro.org \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=david.brown@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=vkoul@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;
as well as URLs for NNTP newsgroup(s).