mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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 2/7] irqchip/i8259: constify irq_domain_ops
Date: Fri,  2 Jun 2017 10:20:53 +0200	[thread overview]
Message-ID: <20170602082058.22938-3-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-i8259.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-i8259.c b/drivers/irqchip/irq-i8259.c
index 1aec12c6d9ac..7aafbb091b67 100644
--- a/drivers/irqchip/irq-i8259.c
+++ b/drivers/irqchip/irq-i8259.c
@@ -307,7 +307,7 @@ static int i8259A_irq_domain_map(struct irq_domain *d, unsigned int virq,
 	return 0;
 }
 
-static struct irq_domain_ops i8259A_ops = {
+static const struct irq_domain_ops i8259A_ops = {
 	.map = i8259A_irq_domain_map,
 	.xlate = irq_domain_xlate_onecell,
 };
-- 
2.13.0

  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 ` Tobias Klauser [this message]
2017-06-02  8:20 ` [PATCH 3/7] irqchip/irq-imx-gpcv2: " Tobias Klauser
2017-06-02  8:20 ` [PATCH 4/7] irqchip/irq-mbigen: " Tobias Klauser
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-3-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®