linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 04/21] rtc: brcmstb-waketimer: quiet maybe-unused variable warning
       [not found] <20210202112219.3610853-1-alexandre.belloni@bootlin.com>
@ 2021-02-02 11:22 ` Alexandre Belloni
  2021-02-02 17:22   ` Florian Fainelli
  2021-02-02 17:23   ` Florian Fainelli
  2021-02-02 11:22 ` [PATCH 05/21] rtc: digicolor: " Alexandre Belloni
  2021-02-02 11:22 ` [PATCH 10/21] rtc: meson: " Alexandre Belloni
  2 siblings, 2 replies; 7+ messages in thread
From: Alexandre Belloni @ 2021-02-02 11:22 UTC (permalink / raw)
  To: linux-rtc, Alessandro Zummo, Alexandre Belloni, Florian Fainelli,
	bcm-kernel-feedback-list
  Cc: linux-kernel, linux-arm-kernel

When CONFIG_OF is disabled then the matching table is not referenced.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 drivers/rtc/rtc-brcmstb-waketimer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-brcmstb-waketimer.c b/drivers/rtc/rtc-brcmstb-waketimer.c
index 0366e2ff04ae..c74130e8f496 100644
--- a/drivers/rtc/rtc-brcmstb-waketimer.c
+++ b/drivers/rtc/rtc-brcmstb-waketimer.c
@@ -306,7 +306,7 @@ static int brcmstb_waketmr_resume(struct device *dev)
 static SIMPLE_DEV_PM_OPS(brcmstb_waketmr_pm_ops,
 			 brcmstb_waketmr_suspend, brcmstb_waketmr_resume);
 
-static const struct of_device_id brcmstb_waketmr_of_match[] = {
+static const __maybe_unused struct of_device_id brcmstb_waketmr_of_match[] = {
 	{ .compatible = "brcm,brcmstb-waketimer" },
 	{ /* sentinel */ },
 };
-- 
2.29.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 05/21] rtc: digicolor: quiet maybe-unused variable warning
       [not found] <20210202112219.3610853-1-alexandre.belloni@bootlin.com>
  2021-02-02 11:22 ` [PATCH 04/21] rtc: brcmstb-waketimer: quiet maybe-unused variable warning Alexandre Belloni
@ 2021-02-02 11:22 ` Alexandre Belloni
  2021-02-02 11:32   ` Baruch Siach
  2021-02-02 11:22 ` [PATCH 10/21] rtc: meson: " Alexandre Belloni
  2 siblings, 1 reply; 7+ messages in thread
From: Alexandre Belloni @ 2021-02-02 11:22 UTC (permalink / raw)
  To: linux-rtc, Alessandro Zummo, Alexandre Belloni, Baruch Siach
  Cc: linux-kernel, linux-arm-kernel

When CONFIG_OF is disabled then the matching table is not referenced.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 drivers/rtc/rtc-digicolor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-digicolor.c b/drivers/rtc/rtc-digicolor.c
index 4fdfa5b6feb2..218a6de19247 100644
--- a/drivers/rtc/rtc-digicolor.c
+++ b/drivers/rtc/rtc-digicolor.c
@@ -205,7 +205,7 @@ static int __init dc_rtc_probe(struct platform_device *pdev)
 	return devm_rtc_register_device(rtc->rtc_dev);
 }
 
-static const struct of_device_id dc_dt_ids[] = {
+static const __maybe_unused struct of_device_id dc_dt_ids[] = {
 	{ .compatible = "cnxt,cx92755-rtc" },
 	{ /* sentinel */ }
 };
-- 
2.29.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 10/21] rtc: meson: quiet maybe-unused variable warning
       [not found] <20210202112219.3610853-1-alexandre.belloni@bootlin.com>
  2021-02-02 11:22 ` [PATCH 04/21] rtc: brcmstb-waketimer: quiet maybe-unused variable warning Alexandre Belloni
  2021-02-02 11:22 ` [PATCH 05/21] rtc: digicolor: " Alexandre Belloni
@ 2021-02-02 11:22 ` Alexandre Belloni
  2021-02-02 16:26   ` Kevin Hilman
  2 siblings, 1 reply; 7+ messages in thread
From: Alexandre Belloni @ 2021-02-02 11:22 UTC (permalink / raw)
  To: linux-rtc, Alessandro Zummo, Alexandre Belloni, Kevin Hilman,
	Neil Armstrong, Jerome Brunet, Martin Blumenstingl
  Cc: linux-amlogic, linux-kernel, linux-arm-kernel

When CONFIG_OF is disabled then the matching table is not referenced.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 drivers/rtc/rtc-meson.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-meson.c b/drivers/rtc/rtc-meson.c
index 8642c06565ea..44bdc8b4a90d 100644
--- a/drivers/rtc/rtc-meson.c
+++ b/drivers/rtc/rtc-meson.c
@@ -380,7 +380,7 @@ static int meson_rtc_probe(struct platform_device *pdev)
 	return ret;
 }
 
-static const struct of_device_id meson_rtc_dt_match[] = {
+static const __maybe_unused struct of_device_id meson_rtc_dt_match[] = {
 	{ .compatible = "amlogic,meson6-rtc", },
 	{ .compatible = "amlogic,meson8-rtc", },
 	{ .compatible = "amlogic,meson8b-rtc", },
-- 
2.29.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 05/21] rtc: digicolor: quiet maybe-unused variable warning
  2021-02-02 11:22 ` [PATCH 05/21] rtc: digicolor: " Alexandre Belloni
@ 2021-02-02 11:32   ` Baruch Siach
  0 siblings, 0 replies; 7+ messages in thread
From: Baruch Siach @ 2021-02-02 11:32 UTC (permalink / raw)
  To: Alexandre Belloni
  Cc: linux-rtc, Alessandro Zummo, linux-kernel, linux-arm-kernel

Hi Alex,

On Tue, Feb 02 2021, Alexandre Belloni wrote:

> When CONFIG_OF is disabled then the matching table is not referenced.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

Acked-by: Baruch Siach <baruch@tkos.co.il>

Thanks,
baruch

> ---
>  drivers/rtc/rtc-digicolor.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/rtc/rtc-digicolor.c b/drivers/rtc/rtc-digicolor.c
> index 4fdfa5b6feb2..218a6de19247 100644
> --- a/drivers/rtc/rtc-digicolor.c
> +++ b/drivers/rtc/rtc-digicolor.c
> @@ -205,7 +205,7 @@ static int __init dc_rtc_probe(struct platform_device *pdev)
>  	return devm_rtc_register_device(rtc->rtc_dev);
>  }
>  
> -static const struct of_device_id dc_dt_ids[] = {
> +static const __maybe_unused struct of_device_id dc_dt_ids[] = {
>  	{ .compatible = "cnxt,cx92755-rtc" },
>  	{ /* sentinel */ }
>  };


-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 10/21] rtc: meson: quiet maybe-unused variable warning
  2021-02-02 11:22 ` [PATCH 10/21] rtc: meson: " Alexandre Belloni
@ 2021-02-02 16:26   ` Kevin Hilman
  0 siblings, 0 replies; 7+ messages in thread
From: Kevin Hilman @ 2021-02-02 16:26 UTC (permalink / raw)
  To: Alexandre Belloni, linux-rtc, Alessandro Zummo,
	Alexandre Belloni, Neil Armstrong, Jerome Brunet,
	Martin Blumenstingl
  Cc: linux-amlogic, linux-kernel, linux-arm-kernel

Alexandre Belloni <alexandre.belloni@bootlin.com> writes:

> When CONFIG_OF is disabled then the matching table is not referenced.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

Acked-by: Kevin Hilman <khilman@baylibre.com>

> ---
>  drivers/rtc/rtc-meson.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/rtc/rtc-meson.c b/drivers/rtc/rtc-meson.c
> index 8642c06565ea..44bdc8b4a90d 100644
> --- a/drivers/rtc/rtc-meson.c
> +++ b/drivers/rtc/rtc-meson.c
> @@ -380,7 +380,7 @@ static int meson_rtc_probe(struct platform_device *pdev)
>  	return ret;
>  }
>  
> -static const struct of_device_id meson_rtc_dt_match[] = {
> +static const __maybe_unused struct of_device_id meson_rtc_dt_match[] = {
>  	{ .compatible = "amlogic,meson6-rtc", },
>  	{ .compatible = "amlogic,meson8-rtc", },
>  	{ .compatible = "amlogic,meson8b-rtc", },
> -- 
> 2.29.2

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 04/21] rtc: brcmstb-waketimer: quiet maybe-unused variable warning
  2021-02-02 11:22 ` [PATCH 04/21] rtc: brcmstb-waketimer: quiet maybe-unused variable warning Alexandre Belloni
@ 2021-02-02 17:22   ` Florian Fainelli
  2021-02-02 17:23   ` Florian Fainelli
  1 sibling, 0 replies; 7+ messages in thread
From: Florian Fainelli @ 2021-02-02 17:22 UTC (permalink / raw)
  To: Alexandre Belloni, linux-rtc, Alessandro Zummo, Florian Fainelli,
	bcm-kernel-feedback-list
  Cc: linux-kernel, linux-arm-kernel


[-- Attachment #1.1: Type: text/plain, Size: 249 bytes --]

On 2/2/21 3:22 AM, Alexandre Belloni wrote:
> When CONFIG_OF is disabled then the matching table is not referenced.
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4178 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 04/21] rtc: brcmstb-waketimer: quiet maybe-unused variable warning
  2021-02-02 11:22 ` [PATCH 04/21] rtc: brcmstb-waketimer: quiet maybe-unused variable warning Alexandre Belloni
  2021-02-02 17:22   ` Florian Fainelli
@ 2021-02-02 17:23   ` Florian Fainelli
  1 sibling, 0 replies; 7+ messages in thread
From: Florian Fainelli @ 2021-02-02 17:23 UTC (permalink / raw)
  To: Alexandre Belloni, linux-rtc, Alessandro Zummo, Florian Fainelli,
	bcm-kernel-feedback-list
  Cc: linux-kernel, linux-arm-kernel

On 2/2/21 3:22 AM, Alexandre Belloni wrote:
> When CONFIG_OF is disabled then the matching table is not referenced.
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-02-02 17:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210202112219.3610853-1-alexandre.belloni@bootlin.com>
2021-02-02 11:22 ` [PATCH 04/21] rtc: brcmstb-waketimer: quiet maybe-unused variable warning Alexandre Belloni
2021-02-02 17:22   ` Florian Fainelli
2021-02-02 17:23   ` Florian Fainelli
2021-02-02 11:22 ` [PATCH 05/21] rtc: digicolor: " Alexandre Belloni
2021-02-02 11:32   ` Baruch Siach
2021-02-02 11:22 ` [PATCH 10/21] rtc: meson: " Alexandre Belloni
2021-02-02 16:26   ` Kevin Hilman

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).