From patchwork Mon Apr 27 12:51:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6280311 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5282FBF4A6 for ; Mon, 27 Apr 2015 12:54:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0411920445 for ; Mon, 27 Apr 2015 12:53:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 173CE2040F for ; Mon, 27 Apr 2015 12:53:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932745AbbD0Mxo (ORCPT ); Mon, 27 Apr 2015 08:53:44 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:35540 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932720AbbD0MxG (ORCPT ); Mon, 27 Apr 2015 08:53:06 -0400 Received: by pabtp1 with SMTP id tp1so128468613pab.2; Mon, 27 Apr 2015 05:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=hWmKUlU1nacerOOkuSkVlm8L3gJsKc8yEFz5IJZ0oIA=; b=zNgnnjwbLMwHKGX2h1kDnRk7YbgoUnRtli519lSB0MisbgRhA3k10b1GhRDxDle+rx oFQgTw9kgN7poxZcN/RbOVyslo76X3+cdNdEdhLunL4VHQROL0Tj7Fconsb4Pu06o26H sTQLyKxD81A30i1DnqhhdGbQhix4WwwFeRFX54FVHwoJmfdtwuDHx49ayeSFcOcPE9ZF oQ+B/ZMHNoCC8YMcTwjNflVD5PhbCxJ0Oow2F1D+wUeNUlDDPg50EgedGbUYazPYrrfd oJO3J6IardBpIoEK6z2XRs6XpUSvVeIQFXX/IhScAEfqQwvJ/niICVp7EgJu6wuu/QaK qPpA== X-Received: by 10.68.179.67 with SMTP id de3mr21907221pbc.85.1430139185857; Mon, 27 Apr 2015 05:53:05 -0700 (PDT) Received: from localhost.localdomain ([125.130.175.98]) by mx.google.com with ESMTPSA id k3sm19416127pde.18.2015.04.27.05.53.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Apr 2015 05:53:05 -0700 (PDT) From: Krzysztof Kozlowski To: Kukjin Kim , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] ARM: EXYNOS: Constify irq_domain_ops Date: Mon, 27 Apr 2015 21:51:59 +0900 Message-Id: <1430139119-3721-1-git-send-email-k.kozlowski.k@gmail.com> X-Mailer: git-send-email 2.1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The irq_domain_ops are not modified by the driver and the irqdomain core code accepts pointer to a const data. Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/suspend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c index 3e6aea7f83af..8f0d3a8e392d 100644 --- a/arch/arm/mach-exynos/suspend.c +++ b/arch/arm/mach-exynos/suspend.c @@ -223,7 +223,7 @@ static int exynos_pmu_domain_alloc(struct irq_domain *domain, return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &parent_args); } -static struct irq_domain_ops exynos_pmu_domain_ops = { +static const struct irq_domain_ops exynos_pmu_domain_ops = { .xlate = exynos_pmu_domain_xlate, .alloc = exynos_pmu_domain_alloc, .free = irq_domain_free_irqs_common,