From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751309AbdFBIXi (ORCPT ); Fri, 2 Jun 2017 04:23:38 -0400 Received: from mail.zhinst.com ([212.126.164.98]:45288 "EHLO mail.zhinst.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751141AbdFBIVF (ORCPT ); Fri, 2 Jun 2017 04:21:05 -0400 From: Tobias Klauser To: Thomas Gleixner , Jason Cooper , Marc Zyngier 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 Message-Id: <20170602082058.22938-3-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 struct irq_domain_ops is not modified, so it can be made const. Signed-off-by: Tobias Klauser --- 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