linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Mark-PK Tsai <mark-pk.tsai@mediatek.com>
To: <marc.zyngier@arm.com>
Cc: alix.wu@mediatek.com, jason@lakedaemon.net,
	yj.chiang@mediatek.com, linux-kernel@vger.kernel.org,
	wc.shih@mediatek.com, linux-mediatek@lists.infradead.org,
	Mark-PK Tsai <mark-pk.tsai@mediatek.com>,
	matthias.bgg@gmail.com, tglx@linutronix.de,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH] irqchip/irq-mst-intc: Declare mst_intc_of_init static
Date: Mon, 12 Oct 2020 18:20:56 +0800	[thread overview]
Message-ID: <20201012102056.4156-1-mark-pk.tsai@mediatek.com> (raw)

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

                 reply	other threads:[~2020-10-12 10:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201012102056.4156-1-mark-pk.tsai@mediatek.com \
    --to=mark-pk.tsai@mediatek.com \
    --cc=alix.wu@mediatek.com \
    --cc=jason@lakedaemon.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=marc.zyngier@arm.com \
    --cc=matthias.bgg@gmail.com \
    --cc=tglx@linutronix.de \
    --cc=wc.shih@mediatek.com \
    --cc=yj.chiang@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).