Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751244AbdFBIVK (ORCPT ); Fri, 2 Jun 2017 04:21:10 -0400 Received: from mail.zhinst.com ([212.126.164.98]:45284 "EHLO mail.zhinst.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751126AbdFBIVE (ORCPT ); Fri, 2 Jun 2017 04:21:04 -0400 From: Tobias Klauser To: Thomas Gleixner , Jason Cooper , Marc Zyngier Cc: linux-kernel@vger.kernel.org, Yoshinori Sato , uclinux-h8-devel@lists.sourceforge.jp Subject: [PATCH 6/7] irqchip/irq-renesas-h8300h: constify irq_domain_ops Date: Fri, 2 Jun 2017 10:20:57 +0200 Message-Id: <20170602082058.22938-7-tklauser@distanz.ch> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170602082058.22938-1-tklauser@distanz.ch> References: <20170602082058.22938-1-tklauser@distanz.ch> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 797 Lines: 25 struct irq_domain_ops is not modified, so it can be made const. Cc: Yoshinori Sato Cc: uclinux-h8-devel@lists.sourceforge.jp Signed-off-by: Tobias Klauser --- drivers/irqchip/irq-renesas-h8300h.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-renesas-h8300h.c b/drivers/irqchip/irq-renesas-h8300h.c index c378768d75b3..b8327590ae52 100644 --- a/drivers/irqchip/irq-renesas-h8300h.c +++ b/drivers/irqchip/irq-renesas-h8300h.c @@ -67,7 +67,7 @@ static int irq_map(struct irq_domain *h, unsigned int virq, return 0; } -static struct irq_domain_ops irq_ops = { +static const struct irq_domain_ops irq_ops = { .map = irq_map, .xlate = irq_domain_xlate_onecell, }; -- 2.13.0