* [PATCH v2 5/5] base: soc: Export soc_device_register/unregister APIs
@ 2019-02-20 4:59 Vaishali Thakkar
2019-02-20 6:55 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Vaishali Thakkar @ 2019-02-20 4:59 UTC (permalink / raw)
To: andy.gross
Cc: david.brown, gregkh, linux-arm-msm, linux-kernel, rafael,
bjorn.andersson, vkoul, Vaishali Thakkar
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>
---
Changes since v1:
- None
---
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
@@ -164,6 +164,7 @@ struct soc_device *soc_device_register(struct soc_device_attribute *soc_dev_attr
out1:
return ERR_PTR(ret);
}
+EXPORT_SYMBOL_GPL(soc_device_register);
/* Ensure soc_dev->attr is freed prior to calling soc_device_unregister. */
void soc_device_unregister(struct soc_device *soc_dev)
@@ -173,6 +174,7 @@ void soc_device_unregister(struct soc_device *soc_dev)
device_unregister(&soc_dev->dev);
early_soc_dev_attr = NULL;
}
+EXPORT_SYMBOL_GPL(soc_device_unregister);
static int __init soc_bus_register(void)
{
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH v2 5/5] base: soc: Export soc_device_register/unregister APIs
2019-02-20 4:59 [PATCH v2 5/5] base: soc: Export soc_device_register/unregister APIs Vaishali Thakkar
@ 2019-02-20 6:55 ` Greg KH
2019-02-20 8:48 ` Vaishali Thakkar
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2019-02-20 6:55 UTC (permalink / raw)
To: Vaishali Thakkar
Cc: andy.gross, david.brown, linux-arm-msm, linux-kernel, rafael,
bjorn.andersson, vkoul
On Wed, Feb 20, 2019 at 10:29:46AM +0530, Vaishali Thakkar wrote:
> 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>
> ---
> Changes since v1:
> - None
This is fixing a build breakage introduced by an earlier patch. Please
rearange the patches so that breakage never happens.
Also, any chance you can properly "thread" your patches so they all show
up together? git send-email does this automatically...
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 5/5] base: soc: Export soc_device_register/unregister APIs
2019-02-20 6:55 ` Greg KH
@ 2019-02-20 8:48 ` Vaishali Thakkar
0 siblings, 0 replies; 3+ messages in thread
From: Vaishali Thakkar @ 2019-02-20 8:48 UTC (permalink / raw)
To: Greg KH
Cc: Andy Gross, David Brown, linux-arm-msm, linux-kernel, rafael,
Bjorn Andersson, Vinod Koul
On Wed, 20 Feb 2019 at 12:25, Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Wed, Feb 20, 2019 at 10:29:46AM +0530, Vaishali Thakkar wrote:
> > 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>
> > ---
> > Changes since v1:
> > - None
>
> This is fixing a build breakage introduced by an earlier patch. Please
> rearange the patches so that breakage never happens.
Ok, yes. I'll put it as patch two [before adding socinfo driver].
> Also, any chance you can properly "thread" your patches so they all show
> up together? git send-email does this automatically...
I'm using send-email only but I was sending it one by one. I believe
that's the reason why didn't come as a thread. I'll fix that in next version
too.
> thanks,
>
> greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-02-20 8:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-20 4:59 [PATCH v2 5/5] base: soc: Export soc_device_register/unregister APIs Vaishali Thakkar
2019-02-20 6:55 ` Greg KH
2019-02-20 8:48 ` Vaishali Thakkar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox