Message ID | 20190225065044.11023-3-vaishali.thakkar@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | soc: qcom: Add SoC info driver | expand |
Quoting Vaishali Thakkar (2019-02-24 22:50:41) > 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>
On Sun 24 Feb 22:50 PST 2019, 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> > Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Regards, Bjorn > --- > Changes since v3: > - Add Greg's reviewed-by > Changes since v2: > - Reorder patches [patch 5->patch 2] > 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 >
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) {