Message ID | 1503592565-21601-2-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 BF82260349 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 24 Aug 2017 16:37:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8FE328A97 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 24 Aug 2017 16:37:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D83528C0C; Thu, 24 Aug 2017 16:37:14 +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 2DB6F28A97 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 24 Aug 2017 16:37:14 +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=R6v9ZTbDO/8CpwjnTfdK9rx9XiKp9mZVN7iDcZyFeqs=; b=Awe0OY3/boY4eBggZUymw7Jrvk pQH+KAa+sIj88s5eS6pMJxJBekdYtetYtKpaTQvRSXFhCFAfUAQqWi9zqWb8NSw7npgFCkvth+85B QH+paZ5puy9vsmxuDeT6J4sTHmwTs204h2gaMC5+VcYVK3g5d+fAxzR3KVSON7oCWjA7J9IOpAe5n b4OYvA6d13tvCtiLvsX7HX8i753yFEG8MlOfcGTkXqdvR0cLuxy46rTxDjroeVEAYeA74vwnAniLI 2vSB8wb6YtRsiOq/Ri139iG5+jJrVZ9mOLXoe/GiFLOdCuUqBUmUqaWuPWMDwE2bOZrifL4KOHR3L +L1rVPcg==; 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 1dkv7w-0004Jb-Fl; Thu, 24 Aug 2017 16:37:04 +0000 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dkv7U-0003yx-Be for linux-arm-kernel@lists.infradead.org; Thu, 24 Aug 2017 16:36:38 +0000 Received: by mail-pg0-x244.google.com with SMTP id 189so4672106pgj.0 for <linux-arm-kernel@lists.infradead.org>; Thu, 24 Aug 2017 09:36:17 -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=RaCgn8HwC4DWmTe8KZ481lFDUyXPEAQ7rew7dZlqXr0=; b=V7EqlhBcYatNOS0LsFhRSh2zWd3Z02EWr6JsUG0m6i/SLDapAsX4HOYRnmFPfEeWrx JkL0UmNqdnUp35hMKFihXRJOxpG/UGyI4/Ty8aVyHKLSUmhdkJJLb/np2RaHfU9fEz3j O0lyegZgtVD391jKdzTYVbRZdtMezwJjmWkSyStrylVvgyygyULgXtVstPkyOFRGgKDE iW1wz8gOko9rSrURrxIfBQH+5U3s/9LmZL3eUaI1cxU34FOIQrUv9p/+gV4yHYOcRSp1 XvQCyDxtx9mCODvtL5iH8+Ftp4xtXUln+TkfmB/lvK7HHQl9nPk0ypobeQdNjzPn7RYt swCw== 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=RaCgn8HwC4DWmTe8KZ481lFDUyXPEAQ7rew7dZlqXr0=; b=fnD5zOWXRXMwYf+Knz6FcYszbxlfSiQLiecI7itE/6jETH46Q0XOHDsTw0sCVn+w9t Fig/h+2RTaDy6W8NPpeziyXHxFUJ0Fj+LREOCR8/30NY95AYTn8zZMqL5pdfJYZDspLB cqQ0YzOqpK80YSxR2Qy8CZn+FEb7/yytxsp/8r3n3zKBGdyOpCGhcW4UI5uz+JmR6i18 rFkNLr5O0XZbFr01sn5unyo/08Vu3jLY3FAcRFz3vql72apA1+sx/bhlQaMeIZSBTVu/ bCamZZEsrwJ/0Er8yEVWRniCUjtZ1UksEIghjwiQLCQaqtHKdqrbNTzRtpZWxiiTHsiW fqBA== X-Gm-Message-State: AHYfb5gk+PQbCeEHFfCzuNORJEI77umeXuTDUqj1TAZSbKeiRb+dcgM7 YVxWCIMki/waTQ== X-Received: by 10.84.232.73 with SMTP id f9mr7345408pln.421.1503592577590; Thu, 24 Aug 2017 09:36:17 -0700 (PDT) Received: from localhost.localdomain ([103.16.68.83]) by smtp.gmail.com with ESMTPSA id 13sm4872654pfr.130.2017.08.24.09.36.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Aug 2017 09:36:16 -0700 (PDT) From: Arvind Yadav <arvind.yadav.cs@gmail.com> To: mathieu.poirier@linaro.org, gregkh@linuxfoundation.org Subject: [PATCH 1/9] coresight: constify amba_id Date: Thu, 24 Aug 2017 22:05:57 +0530 Message-Id: <1503592565-21601-2-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_093636_480043_435E0846 X-CRM114-Status: GOOD ( 10.50 ) 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-cpu-debug.c b/drivers/hwtracing/coresight/coresight-cpu-debug.c index 64a77e0..6ea62c6 100644 --- a/drivers/hwtracing/coresight/coresight-cpu-debug.c +++ b/drivers/hwtracing/coresight/coresight-cpu-debug.c @@ -667,7 +667,7 @@ static int debug_remove(struct amba_device *adev) return 0; } -static struct amba_id debug_ids[] = { +static const struct amba_id debug_ids[] = { { /* Debug for Cortex-A53 */ .id = 0x000bbd03, .mask = 0x000fffff,
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-cpu-debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)