Message ID | 1503592565-21601-10-git-send-email-arvind.yadav.cs@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 83FAC60349 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 24 Aug 2017 16:41:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 72ACF22A68 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 24 Aug 2017 16:41:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 678E128BBF; Thu, 24 Aug 2017 16:41:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F2F6828C0C for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 24 Aug 2017 16:41:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=nNgOA832hl9z1it9ZpUHapSuByeNHz7g557JdJf7H/w=; b=fFu01sf/pbVNsoaliBK4/a6Tt2 jzRbXrAgAu3wip92OMpH+a0lNDPz3YytyB2u5Q17v655kRAwhYzJ+znwr+xDzcLnyvGa88zPk0VNV CJXdMCRW48gMBYb5ZyhxdA7tzCU6lYqeZiQ6GPr7QmoGsNlLk7MLxuwH9ENHOuTkmPG94LTrNZYND wIYiZElA0R1P+xtAwguikJoKgDp8ws+eeE3BRlyGDpxepHxk40SzUU4wLA/fvMNblDqqUONPoIs8c 5377za3WsZptinYnwC3aCMleEnEmYl1ph80z7evBox7zk1pe1d95OvQvKR7IVVkV8kJCiK9wWwQJn 7CjWtHNg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dkvCB-0000JG-Vt; Thu, 24 Aug 2017 16:41:28 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dkv7s-0004VL-MO for linux-arm-kernel@bombadil.infradead.org; Thu, 24 Aug 2017 16:37:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4N4gyIA/l8dqQ1lx3OCu2SA63Xc0wCyXBYDngORPudI=; b=Cadg5R4oIzTSIUgSLXh3TyTkI qUnFH/CY5kN+n9DMk3VOVP4jA9fYcN6LTH3B4wbBgl91NedaL0LHzI4PVQbn8VoCA+pvvWgPOGHH+ mrvPKRYlF8FEtyIZpfCMp7POwp/wmrA/jEQS/pqX729uCqv1cdYYhKajABVEOT0hfLoGa++93BSfd ZFJdsa7xsZZzM0NiebOW0jT06IkBkXM1cF1Xi0OFqKnsjlKlJ5BY5lIAxHWlxiRHGlOj9a0+oTt6u bC8lkiUa/X5rW4PHy9XAAQOsCWkD9XGIxLBPBc8oEBbGk+gMdQaJDFncNsyft6Mcz9MCRvh7JF/Xg RKCMGdx4Q==; Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dkv7p-0003bF-Sy for linux-arm-kernel@lists.infradead.org; Thu, 24 Aug 2017 16:36:59 +0000 Received: by mail-pg0-x241.google.com with SMTP id w27so4654349pge.4 for <linux-arm-kernel@lists.infradead.org>; Thu, 24 Aug 2017 09:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4N4gyIA/l8dqQ1lx3OCu2SA63Xc0wCyXBYDngORPudI=; b=cRzVjh5uIAI8yZmNU1lf/9hbZjPTF0wJ7GkZAs+kdG7+jUltyRf0mQTt0Cau3d1kdN l47xnrpEbkGKMPQtlK04DrDr9AjRv/K4tRNxqwZrmebMJVTnHD1/RGrBIBrGl0j8kgB8 DKzalABYveR7fa8DmlCIC12mu7jtZ7IkTqeUaKsg9EQ6Pmo5aNMllBYyzEMpzyfX4jgI Z9fNW48Vov3X739DY5gFQt3kXOjSIn+kTdj+6MZASOseiA9iCjVxpWk7qAZfoZWAFJe0 Q05V8B+OkwaJOlvfa0bdSWhqFRqvaKDNSrIuceXHIoo4Z2Ec3w9BExh5CHBtpdxPzxX/ k60w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4N4gyIA/l8dqQ1lx3OCu2SA63Xc0wCyXBYDngORPudI=; b=oXhP5yI1UJZsdtB+xc8U7eesZjs6O67uG9UsdmgAH/rgrfafcKGxXiI7BPQPPfosi5 hmg0D0z02e+YTRGJdEKdN8YbkkWZopGw4ZYKSRjRm9YTwIiDEWx8mEvaYPd7sW7AID0C jjJuQ0QAnNkMw7fuMpFvB0Br9htF+olPfihnwzi+M/KpCajEsMTMsp/IomcnC3aIbrVv h9OYufYffACPcfXZVgNSSjmmGmES6rgGlzqYywhCunyHJgHmJO6OMk8G84hC7iQrM00C IW8vT1LLMIxJffSvm0UX9gO8aceU+5GxxSLZEXo2AR8ulFglRTPy3xFOXt+9tjnv7O/9 Om8w== X-Gm-Message-State: AHYfb5iyrlMxNR3to1qJ75NTLhmFwt23+Iw3NlD/XgsA0QcWkldSh5BL hBpy23TlZgovWA== X-Received: by 10.84.129.77 with SMTP id 71mr7430853plb.44.1503592595220; Thu, 24 Aug 2017 09:36:35 -0700 (PDT) Received: from localhost.localdomain ([103.16.68.83]) by smtp.gmail.com with ESMTPSA id 13sm4872654pfr.130.2017.08.24.09.36.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Aug 2017 09:36:34 -0700 (PDT) From: Arvind Yadav <arvind.yadav.cs@gmail.com> To: mathieu.poirier@linaro.org, gregkh@linuxfoundation.org Subject: [PATCH 9/9] coresight: tpiu: constify amba_id Date: Thu, 24 Aug 2017 22:06:05 +0530 Message-Id: <1503592565-21601-10-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503592565-21601-1-git-send-email-arvind.yadav.cs@gmail.com> References: <1503592565-21601-1-git-send-email-arvind.yadav.cs@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170824_173658_117446_7BC5363F X-CRM114-Status: GOOD ( 11.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/hwtracing/coresight/coresight-tpiu.c b/drivers/hwtracing/coresight/coresight-tpiu.c index 0673baf..330769b 100644 --- a/drivers/hwtracing/coresight/coresight-tpiu.c +++ b/drivers/hwtracing/coresight/coresight-tpiu.c @@ -192,7 +192,7 @@ static const struct dev_pm_ops tpiu_dev_pm_ops = { SET_RUNTIME_PM_OPS(tpiu_runtime_suspend, tpiu_runtime_resume, NULL) }; -static struct amba_id tpiu_ids[] = { +static const struct amba_id tpiu_ids[] = { { .id = 0x0003b912, .mask = 0x0003ffff,
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> --- drivers/hwtracing/coresight/coresight-tpiu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)