Linux-mediatek Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] irqchip/irq-mst-intc: Declare mst_intc_of_init static
@ 2020-10-12 10:20 Mark-PK Tsai
  0 siblings, 0 replies; only message in thread
From: Mark-PK Tsai @ 2020-10-12 10:20 UTC (permalink / raw)
  To: marc.zyngier
  Cc: alix.wu, jason, yj.chiang, linux-kernel, wc.shih, linux-mediatek,
	Mark-PK Tsai, matthias.bgg, tglx, linux-arm-kernel

mst_intc_of_init is not intended to be used ouside of irq-mst-intc.c,
declare it static.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com>
---
 drivers/irqchip/irq-mst-intc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-mst-intc.c b/drivers/irqchip/irq-mst-intc.c
index 4be077591898..cf6de04a73b4 100644
--- a/drivers/irqchip/irq-mst-intc.c
+++ b/drivers/irqchip/irq-mst-intc.c
@@ -154,7 +154,7 @@ static const struct irq_domain_ops mst_intc_domain_ops = {
 	.free		= irq_domain_free_irqs_common,
 };
 
-int __init
+static int __init
 mst_intc_of_init(struct device_node *dn, struct device_node *parent)
 {
 	struct irq_domain *domain, *domain_parent;
-- 
2.18.0
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-12 10:20 [PATCH] irqchip/irq-mst-intc: Declare mst_intc_of_init static Mark-PK Tsai

Linux-mediatek Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-mediatek/0 linux-mediatek/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mediatek linux-mediatek/ https://lore.kernel.org/linux-mediatek \
		linux-mediatek@lists.infradead.org
	public-inbox-index linux-mediatek

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-mediatek


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git