Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030946AbbEEIs7 (ORCPT ); Tue, 5 May 2015 04:48:59 -0400 Received: from terminus.zytor.com ([198.137.202.10]:48067 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030924AbbEEIsr (ORCPT ); Tue, 5 May 2015 04:48:47 -0400 Date: Tue, 5 May 2015 01:48:30 -0700 From: tip-bot for Krzysztof Kozlowski Message-ID: Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, maxime.ripard@free-electrons.com, mingo@kernel.org, k.kozlowski.k@gmail.com, swarren@wwwdotorg.org, matthias.bgg@gmail.com, hpa@zytor.com, kgene@kernel.org, jason@lakedaemon.net, lee@kernel.org Reply-To: hpa@zytor.com, matthias.bgg@gmail.com, swarren@wwwdotorg.org, k.kozlowski.k@gmail.com, mingo@kernel.org, maxime.ripard@free-electrons.com, lee@kernel.org, kgene@kernel.org, jason@lakedaemon.net, tglx@linutronix.de, linux-kernel@vger.kernel.org In-Reply-To: <1430139264-4362-1-git-send-email-k.kozlowski.k@gmail.com> References: <1430139264-4362-1-git-send-email-k.kozlowski.k@gmail.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/core] genirq: MSI: Constify irq_domain_ops Git-Commit-ID: 01364028bdbb095dc6524986261fe1777ad04347 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1823 Lines: 46 Commit-ID: 01364028bdbb095dc6524986261fe1777ad04347 Gitweb: http://git.kernel.org/tip/01364028bdbb095dc6524986261fe1777ad04347 Author: Krzysztof Kozlowski AuthorDate: Mon, 27 Apr 2015 21:54:23 +0900 Committer: Thomas Gleixner CommitDate: Tue, 5 May 2015 10:45:58 +0200 genirq: MSI: Constify irq_domain_ops The irq_domain_ops are not modified. The irqdomain core code accepts pointer to a const data. Signed-off-by: Krzysztof Kozlowski Cc: Jason Cooper Cc: Kukjin Kim Cc: Stephen Warren Cc: Lee Jones Cc: Matthias Brugger Cc: Maxime Ripard Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rpi-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org Link: http://lkml.kernel.org/r/1430139264-4362-1-git-send-email-k.kozlowski.k@gmail.com Signed-off-by: Thomas Gleixner --- kernel/irq/msi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/irq/msi.c b/kernel/irq/msi.c index 474de5c..7bf1f1b 100644 --- a/kernel/irq/msi.c +++ b/kernel/irq/msi.c @@ -124,7 +124,7 @@ static void msi_domain_free(struct irq_domain *domain, unsigned int virq, irq_domain_free_irqs_top(domain, virq, nr_irqs); } -static struct irq_domain_ops msi_domain_ops = { +static const struct irq_domain_ops msi_domain_ops = { .alloc = msi_domain_alloc, .free = msi_domain_free, .activate = msi_domain_activate, -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/