All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] irqchip/gic-v2m:add const to of_device_id
@ 2021-12-09 13:24 Xiang wangx
  2021-12-16 15:24 ` [irqchip: irq/irqchip-next] irqchip/gic-v2m: Add " irqchip-bot for Xiang wangx
  0 siblings, 1 reply; 2+ messages in thread
From: Xiang wangx @ 2021-12-09 13:24 UTC (permalink / raw)
  To: tglx; +Cc: maz, linux-kernel, Xiang wangx

struct of_device_id should normally be const.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
---
 drivers/irqchip/irq-gic-v2m.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-gic-v2m.c b/drivers/irqchip/irq-gic-v2m.c
index 9349fc68b81a..f2d252dff5f3 100644
--- a/drivers/irqchip/irq-gic-v2m.c
+++ b/drivers/irqchip/irq-gic-v2m.c
@@ -405,7 +405,7 @@ static int __init gicv2m_init_one(struct fwnode_handle *fwnode,
 	return ret;
 }
 
-static struct of_device_id gicv2m_device_id[] = {
+static const struct of_device_id gicv2m_device_id[] = {
 	{	.compatible	= "arm,gic-v2m-frame",	},
 	{},
 };
-- 
2.20.1


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

* [irqchip: irq/irqchip-next] irqchip/gic-v2m: Add const to of_device_id
  2021-12-09 13:24 [PATCH] irqchip/gic-v2m:add const to of_device_id Xiang wangx
@ 2021-12-16 15:24 ` irqchip-bot for Xiang wangx
  0 siblings, 0 replies; 2+ messages in thread
From: irqchip-bot for Xiang wangx @ 2021-12-16 15:24 UTC (permalink / raw)
  To: linux-kernel; +Cc: Xiang wangx, Marc Zyngier, tglx

The following commit has been merged into the irq/irqchip-next branch of irqchip:

Commit-ID:     c10f2f8b5d8027c1ea77f777f2d16cb9043a6c09
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/c10f2f8b5d8027c1ea77f777f2d16cb9043a6c09
Author:        Xiang wangx <wangxiang@cdjrlc.com>
AuthorDate:    Thu, 09 Dec 2021 21:24:53 +08:00
Committer:     Marc Zyngier <maz@kernel.org>
CommitterDate: Thu, 16 Dec 2021 15:19:52 

irqchip/gic-v2m: Add const to of_device_id

struct of_device_id should normally be const.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211209132453.25623-1-wangxiang@cdjrlc.com
---
 drivers/irqchip/irq-gic-v2m.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-gic-v2m.c b/drivers/irqchip/irq-gic-v2m.c
index 9349fc6..f2d252d 100644
--- a/drivers/irqchip/irq-gic-v2m.c
+++ b/drivers/irqchip/irq-gic-v2m.c
@@ -405,7 +405,7 @@ err_free_v2m:
 	return ret;
 }
 
-static struct of_device_id gicv2m_device_id[] = {
+static const struct of_device_id gicv2m_device_id[] = {
 	{	.compatible	= "arm,gic-v2m-frame",	},
 	{},
 };

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

end of thread, other threads:[~2021-12-16 15:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-09 13:24 [PATCH] irqchip/gic-v2m:add const to of_device_id Xiang wangx
2021-12-16 15:24 ` [irqchip: irq/irqchip-next] irqchip/gic-v2m: Add " irqchip-bot for Xiang wangx

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.