From: Tobias Klauser <tklauser@distanz.ch>
To: Thomas Gleixner <tglx@linutronix.de>,
Jason Cooper <jason@lakedaemon.net>,
Marc Zyngier <marc.zyngier@arm.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 4/7] irqchip/irq-mbigen: constify irq_domain_ops
Date: Fri, 2 Jun 2017 10:20:55 +0200 [thread overview]
Message-ID: <20170602082058.22938-5-tklauser@distanz.ch> (raw)
In-Reply-To: <20170602082058.22938-1-tklauser@distanz.ch>
struct irq_domain_ops is not modified, so it can be made const.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
drivers/irqchip/irq-mbigen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-mbigen.c b/drivers/irqchip/irq-mbigen.c
index 31d6b5a582d2..567b29c47608 100644
--- a/drivers/irqchip/irq-mbigen.c
+++ b/drivers/irqchip/irq-mbigen.c
@@ -228,7 +228,7 @@ static int mbigen_irq_domain_alloc(struct irq_domain *domain,
return 0;
}
-static struct irq_domain_ops mbigen_domain_ops = {
+static const struct irq_domain_ops mbigen_domain_ops = {
.translate = mbigen_domain_translate,
.alloc = mbigen_irq_domain_alloc,
.free = irq_domain_free_irqs_common,
--
2.13.0
next prev parent reply other threads:[~2017-06-02 8:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-02 8:20 [PATCH 0/7] irqchip: " Tobias Klauser
2017-06-02 8:20 ` [PATCH 1/7] irqchip/aspeed-vic: " Tobias Klauser
2017-06-05 6:13 ` Joel Stanley
2017-06-02 8:20 ` [PATCH 2/7] irqchip/i8259: " Tobias Klauser
2017-06-02 8:20 ` [PATCH 3/7] irqchip/irq-imx-gpcv2: " Tobias Klauser
2017-06-02 8:20 ` Tobias Klauser [this message]
2017-06-02 8:20 ` [PATCH 5/7] irqchip/irq-mips-gic: " Tobias Klauser
2017-06-02 8:20 ` [PATCH 6/7] irqchip/irq-renesas-h8300h: " Tobias Klauser
2017-06-02 8:20 ` [PATCH 7/7] irqchip/irq-renesas-h8s: " Tobias Klauser
2017-06-02 10:04 ` [PATCH 0/7] irqchip: " Marc Zyngier
2017-06-02 11:25 ` Tobias Klauser
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=20170602082058.22938-5-tklauser@distanz.ch \
--to=tklauser@distanz.ch \
--cc=jason@lakedaemon.net \
--cc=linux-kernel@vger.kernel.org \
--cc=marc.zyngier@arm.com \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®