Message ID | 1503592565-21601-6-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 D3F35603FF for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 24 Aug 2017 16:39:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C2B3B28C0C for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 24 Aug 2017 16:39:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B76D928C1F; Thu, 24 Aug 2017 16:39:47 +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 DB0AE28C24 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 24 Aug 2017 16:39:45 +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=BeUqP1saPHQDPQV6PoU+HDnAFxcl9zF0PRC6eRbtm3w=; b=cZTAyDXi4aanFKSeVxkh7R+xEQ sZkc+thJXYo4qrRQVVwWTpGb4BsKFjG1uh+aeOk/jqPMr0DIEOds7/zEUlQRqmA0435UI6QQ46d5M kYsGbpfXUUsqQ/clTyj83FqjN5eicuWN6b9ARbe9hsGEqaFr2l1S5BQs7ZH5XSNRifnD5ojMGProX yZZVrBVO8meLqqaTdyv4btX+Moadj5ou402zNQBJ6dHPigNgIEeYAhx3bGSH9lYiN5RsyLz6H+VW8 VKB/f1maxWg0amt3sHz2WPVTQ6TgQHJmLmBiyVh5WdQcqyo1uYlEzYI5uwtPlWEmNiC6OxBLUkBBR mafzFVIg==; 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 1dkv9z-0005td-PY; Thu, 24 Aug 2017 16:39:11 +0000 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dkv7c-00048C-Qc for linux-arm-kernel@lists.infradead.org; Thu, 24 Aug 2017 16:36:49 +0000 Received: by mail-pg0-x241.google.com with SMTP id 189so4672798pgj.0 for <linux-arm-kernel@lists.infradead.org>; Thu, 24 Aug 2017 09:36:26 -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=4f/mRaLzNHJMApFRNwZ9pxqa9g2pSswbxOEapfGDMVs=; b=IQULcDHW1WTfeh7JVLZa/2tUe8tHEPZ216pOykghFVA7qAPNzS7onbn2LyeHz/BKg6 /lnKn6O/MPnOEQ4MGPTVi5kgNRF5vYxsjqY7JhZ/ZsmckY3g6fIplTq4/+DPEC1MaK2X c63iQH0mLOvzvwBzLEVE5vcBECZ28Oafgsq1MmoK609DPxgrdOGDH8wNkujtWchVkuut xsr/jrYYNV5REWheKalU+TROLPpruxaejm6NfAV7b6yJXwGhyJgYGhaJ5aX3WRrnUmWd H7Mv1+GphgjOoysHdk2sRAIi19OivMf6DLlGxqwm1Rfug9TuTCWm9Jvo3pdFu3MV+lA+ Om3g== 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=4f/mRaLzNHJMApFRNwZ9pxqa9g2pSswbxOEapfGDMVs=; b=K7gjqkqRyjzZyplhCfDvNupwXkT5eTpuNMKBIX6gAbSjdVz1e370L6jniaqJnN/H63 GV2LwFdH0j7IWbDhXrdA56ypED3lLjDE1lvKarDS6Y/eWUSD9YmPZNLpj88H8cn0MmA1 T6j+7bRgRJM91NHTpMrg/jJkpdXWDzR7od9OdKEmUoitja/xWCcmnIMTUmGuV4J9/BjT dLMUd9E0cFV/dI4UWsDxgNV+ZpdZ0KohCgCr3v7g+Vru0hw9N23C1UxbTL+9XZB+DxGo wdUv3h6Uclb91uGZrNw1QXfZpwGSAh/yUn+ObiU0TaEnGqOMjJTBy+k4fhgWHF+r3XzC sJOw== X-Gm-Message-State: AHYfb5gT2wal3nDwipS5KJNfTkKDG/0LVspnwD2SkWCgEdByLOSvWxel rEIBVRO0Wy8Ohg== X-Received: by 10.99.109.4 with SMTP id i4mr6669084pgc.211.1503592586345; Thu, 24 Aug 2017 09:36:26 -0700 (PDT) Received: from localhost.localdomain ([103.16.68.83]) by smtp.gmail.com with ESMTPSA id 13sm4872654pfr.130.2017.08.24.09.36.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Aug 2017 09:36:25 -0700 (PDT) From: Arvind Yadav <arvind.yadav.cs@gmail.com> To: mathieu.poirier@linaro.org, gregkh@linuxfoundation.org Subject: [PATCH 5/9] coresight: funnel: constify amba_id Date: Thu, 24 Aug 2017 22:06:01 +0530 Message-Id: <1503592565-21601-6-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_093645_124362_1B5C26DD X-CRM114-Status: UNSURE ( 9.50 ) X-CRM114-Notice: Please train this message. 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-funnel.c b/drivers/hwtracing/coresight/coresight-funnel.c index 860fe6e..73cd42f 100644 --- a/drivers/hwtracing/coresight/coresight-funnel.c +++ b/drivers/hwtracing/coresight/coresight-funnel.c @@ -246,7 +246,7 @@ static const struct dev_pm_ops funnel_dev_pm_ops = { SET_RUNTIME_PM_OPS(funnel_runtime_suspend, funnel_runtime_resume, NULL) }; -static struct amba_id funnel_ids[] = { +static const struct amba_id funnel_ids[] = { { .id = 0x0003b908, .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-funnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)