{"id":805133,"url":"http://patchwork.ozlabs.org/api/1.2/patches/805133/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-i2c/patch/8f8b0a93aa6838c4a33e273758e159ab264dec4e.1503508729.git.arvind.yadav.cs@gmail.com/","project":{"id":35,"url":"http://patchwork.ozlabs.org/api/1.2/projects/35/?format=json","name":"Linux I2C development","link_name":"linux-i2c","list_id":"linux-i2c.vger.kernel.org","list_email":"linux-i2c@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<8f8b0a93aa6838c4a33e273758e159ab264dec4e.1503508729.git.arvind.yadav.cs@gmail.com>","list_archive_url":null,"date":"2017-08-23T17:20:50","name":"i2c: nomadik: constify amba_id","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"67954ab52c80bd31c93ab09940690693414e33b9","submitter":{"id":69434,"url":"http://patchwork.ozlabs.org/api/1.2/people/69434/?format=json","name":"Arvind Yadav","email":"arvind.yadav.cs@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-i2c/patch/8f8b0a93aa6838c4a33e273758e159ab264dec4e.1503508729.git.arvind.yadav.cs@gmail.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/805133/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/805133/checks/","tags":{},"related":[],"headers":{"Return-Path":"<linux-i2c-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-i2c-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"IufkCO6R\"; dkim-atps=neutral"],"Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xcvND0Kbpz9ryv\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 24 Aug 2017 03:21:16 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S932204AbdHWRVO (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tWed, 23 Aug 2017 13:21:14 -0400","from mail-pg0-f68.google.com ([74.125.83.68]:35730 \"EHLO\n\tmail-pg0-f68.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S932109AbdHWRVN (ORCPT\n\t<rfc822; linux-i2c@vger.kernel.org>); Wed, 23 Aug 2017 13:21:13 -0400","by mail-pg0-f68.google.com with SMTP id b3so112052pga.2;\n\tWed, 23 Aug 2017 10:21:13 -0700 (PDT)","from localhost.localdomain ([103.16.68.93])\n\tby smtp.gmail.com with ESMTPSA id\n\tc23sm4598691pfc.136.2017.08.23.10.21.01\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 23 Aug 2017 10:21:04 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=jjYPSLtw4/wJRO+lhgvylmHO1srhudh86ql33BEoFnE=;\n\tb=IufkCO6RC1pK0LQPi2yvdKGKq5Wx306bJ/9ZBiNVYx3GoVQfWNVsXFkKayiY7rEbHF\n\trzDrquQJPSwmbBhtOCmb3uP0Cmy0sWmP4YWDkCSOVv/Ezqun7YOssn+Si4etupYES624\n\to+hKFqeJdtk+Toz2C/a2Sl2Tw723yNIQfZNDPGdy1DpXCIq2J8EfOA0SDsb1JKDKWsI6\n\tF/dtrDr6mcOqjGNhrHHXwH4iZV6+OFs9xrPW4BgccgnQkLia5vdKOylR4e6BZR+3+YtE\n\ti6x4TdpJB1pVSTArQQ6hYcyLTrxa2gkgkIzTvg6d5xaRX/v8RM78FVqtta1ULeR4/CcL\n\tPvNg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=jjYPSLtw4/wJRO+lhgvylmHO1srhudh86ql33BEoFnE=;\n\tb=gzZyU+RsPTFjxi4tC8Y0ET0z7Jf0qWBBigm2VTl7uDgvDsGAFNUsHvevhbSQRjeQTW\n\thIy9HoeORHtquy7BgkPzCo5UrO8Z+tgrSzggCqQgJ+ehihDu7Up/n2NpPjjfYv+uRe5d\n\t9cikrGqUGN1ifY51bUiTvBiut+VVpX2QvSo5HXXsmJke05513WI1iJd9t1vMBf0HJdSM\n\tmS857ayhP9MJwAfjQZEJsCfN7GBXfFn8GeaoD4HY3F9eD2lClgeKBkR84q4NdGnT9Lfp\n\tV6s+/wxqnR1paQbLOJ0MqmqUalUaawS9y/ZrqR3VavZSiQpSajHOx/BE15j1EMb/GhPd\n\tijsw==","X-Gm-Message-State":"AHYfb5iGvNESFaUpZ6WabKGOsx62QeJqHLBHPuVhNq7y1iy6UzP5semP\n\t+R6CGZvmxug+PQ==","X-Received":"by 10.84.232.73 with SMTP id f9mr3689228pln.421.1503508872872;\n\tWed, 23 Aug 2017 10:21:12 -0700 (PDT)","From":"Arvind Yadav <arvind.yadav.cs@gmail.com>","To":"rubini@unipv.it, linus.walleij@linaro.org, wsa@the-dreams.de","Cc":"linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org,\n\tlinux-i2c@vger.kernel.org","Subject":"[PATCH] i2c: nomadik: constify amba_id","Date":"Wed, 23 Aug 2017 22:50:50 +0530","Message-Id":"<8f8b0a93aa6838c4a33e273758e159ab264dec4e.1503508729.git.arvind.yadav.cs@gmail.com>","X-Mailer":"git-send-email 2.7.4","Sender":"linux-i2c-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-i2c.vger.kernel.org>","X-Mailing-List":"linux-i2c@vger.kernel.org"},"content":"amba_id are not supposed to change at runtime. All functions\nworking with const amba_id. So mark the non-const structs as const.\n\nSigned-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>\n---\n drivers/i2c/busses/i2c-nomadik.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/drivers/i2c/busses/i2c-nomadik.c b/drivers/i2c/busses/i2c-nomadik.c\nindex da6609d..49c7c0c 100644\n--- a/drivers/i2c/busses/i2c-nomadik.c\n+++ b/drivers/i2c/busses/i2c-nomadik.c\n@@ -1088,7 +1088,7 @@ static struct i2c_vendor_data vendor_db8500 = {\n \t.fifodepth = 32, /* Guessed from TFTR/RFTR = 15 */\n };\n \n-static struct amba_id nmk_i2c_ids[] = {\n+static const struct amba_id nmk_i2c_ids[] = {\n \t{\n \t\t.id\t= 0x00180024,\n \t\t.mask\t= 0x00ffffff,\n","prefixes":[]}