Message ID | 1503130946-2854-15-git-send-email-bhumirks@gmail.com |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Avn+d6k2"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="sTAEkoU5"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="T1b93bg4"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xZD302NLsz9sNV for <incoming@patchwork.ozlabs.org>; Sat, 19 Aug 2017 18:42:04 +1000 (AEST) 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=MGX1JISAPW0lmoCB4SIyqFl6vy1QoBS64vgRzqvkkOw=; b=Avn+d6k2dGnEh5gHeA6Z/vWl// avy1QufPv1ZXqKIqUz/JjowfZbJFEjm2MlVnwym4C3PBYPlKIN00/d6fBQlit7rd8C4QATjv5YDx7 gStR1Uf9CUQUF5REDljBSi8FMEln2hVYRdwk7arjy2ys+6HOqlaOFY/QfU5K3bgU8Zi3egvJ82QD2 11W+aAPVNAx6tNU8Asd0EqBICYZ8SWl1RkXbSrnh7bpaiSZlDSSludJXKY/YT2RfTJmIP5RbV6s0U 3WJJr7sPij7XmrCogymi++92TFKg8n1Y9CpwwQuj7KCFz/kNvc+DzSmSet3P/Qz2BnL96ygbV/rIZ 8v/DSxeQ==; 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 1dizKN-0004AF-CH; Sat, 19 Aug 2017 08:41:55 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dizKL-0003uj-HH for linux-mtd@bombadil.infradead.org; Sat, 19 Aug 2017 08:41:53 +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=U0t2Bx5/OZDIWloxtRE5zw6fQ5KI9tdIqZlcMXqF/QM=; b=sTAEkoU5R7XjGd2MkfyPSabXb yefp0obi7BihPkRbyFRng5vXuXa4cWKtYv3rKuUWK7yXLlywDorh7F2sHWd4ACKnt9EeNfLq/eFBo MH450wNtbhLfdXS6HY2YydrD74zZuHiRJrV65vo1dKRfQxltZVtGlNGYXJsmv6IlsXoPJrGbTfMjU UnRGPIYr2SodmsYpeP6KxVzMZOsIsjrywE0Grt4LevXHmD1g44kNEa1UPK/Wl0uag9TKM13Xpygzi 0ECufQ7tAXivwABYIhxsmhmh9Ns3TLLa2eby3j471/adG6XmvDsG/7QF/XcWIn3BByqaTbLgKaw6J ZYZHas9TA==; 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 1diz6j-00024j-CB for linux-mtd@lists.infradead.org; Sat, 19 Aug 2017 08:27:50 +0000 Received: by mail-pg0-x241.google.com with SMTP id t80so11810130pgb.2 for <linux-mtd@lists.infradead.org>; Sat, 19 Aug 2017 01:27:29 -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=U0t2Bx5/OZDIWloxtRE5zw6fQ5KI9tdIqZlcMXqF/QM=; b=T1b93bg4AMiSoEKP+LoVSn0Y+Vba9KomZ8Y8adWb41PY8GnQEm07g9x/m5Xps9ZsgC V/vsEptcvgBFRL7ZaZCcIbgX3c1fsaXMy4hbn1c9QEC/52ZP3uLhNh3nbdvMBsdDwoiG yZpBJDYB05jHO9lfAEr2W6Oz5N+IfItBxaKbn3y+pepKvR/UKYDJF831Nm1+/foazwLv Lh68o8jOsRvYx6M7iqsNWgao58sEEGfOFUqUiOielgqf1VqFuZKuSKaof372j+xezZy2 0wKOKrLieL1yIS4ju2I3DEztsEvjd1Wqv39TBFh77ZFauHa4d5DEDN9uHbRsSA5ezDe7 xmWg== 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=U0t2Bx5/OZDIWloxtRE5zw6fQ5KI9tdIqZlcMXqF/QM=; b=MUHWceTp7mXzz/Vnk/pyLwJoeU6C3BcyvlBwx3Sf0Imj9Lh5v1t9roHhPkLsB3V6h/ 4bRmQpnRFDfkRZFz6GPqq1cVbSGk3Rgok5S1kRDEkVmflQZnRrZrGnqL3s3H4A6OZFM/ gf+thxYNemuVJf6SDiJM+MxbhxKKe8ESUgzmy5ZoixbiFCZci/MfnCRWTN73zC7P2zEv ptyBhByZrakTsPhKHqx9YzB4eFIFFe/m+auE3BybSZ5aCRm/lhmHxCoaNJlSDQEzY/WB vDeIgxnvsTlYvXtnI8k0NZQEVFoIu7uX+ihBhl7dWe3BC89b9GxBDaT40XkSSa+pHP5G 2mMQ== X-Gm-Message-State: AHYfb5g/z26StZKOcjbaqsF62IIXOW+ZeTFklbMYF6S/j2F7OlMHo5iu 03An9sKp2AOcSA== X-Received: by 10.84.194.228 with SMTP id h91mr12394399pld.46.1503131247736; Sat, 19 Aug 2017 01:27:27 -0700 (PDT) Received: from gmail.com ([59.94.206.141]) by smtp.gmail.com with ESMTPSA id v12sm2897208pgf.6.2017.08.19.01.27.11 (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 19 Aug 2017 01:27:27 -0700 (PDT) Received: by gmail.com (sSMTP sendmail emulation); Sat, 19 Aug 2017 13:57:08 +0530 From: Bhumika Goyal <bhumirks@gmail.com> To: julia.lawall@lip6.fr, bp@alien8.de, mchehab@kernel.org, daniel.vetter@intel.com, jani.nikula@linux.intel.com, seanpaul@chromium.org, airlied@linux.ie, g.liakhovetski@gmx.de, tomas.winkler@intel.com, dwmw2@infradead.org, computersforpeace@gmail.com, boris.brezillon@free-electrons.com, marek.vasut@gmail.com, richard@nod.at, cyrille.pitchen@wedev4u.fr, peda@axentia.se, kishon@ti.com, bhelgaas@google.com, thierry.reding@gmail.com, jonathanh@nvidia.com, dvhart@infradead.org, andy@infradead.org, ohad@wizery.com, bjorn.andersson@linaro.org, freude@de.ibm.com, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, jth@kernel.org, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, lduncan@suse.com, cleech@redhat.com, johan@kernel.org, elder@kernel.org, gregkh@linuxfoundation.org, heikki.krogerus@linux.intel.com, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linux-mtd@lists.infradead.org, linux-pci@vger.kernel.org, linux-tegra@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-s390@vger.kernel.org, fcoe-devel@open-fcoe.org, linux-scsi@vger.kernel.org, open-iscsi@googlegroups.com, greybus-dev@lists.linaro.org, devel@driverdev.osuosl.org, linux-usb@vger.kernel.org Subject: [PATCH 14/15] staging: greybus: make device_type const Date: Sat, 19 Aug 2017 13:52:25 +0530 Message-Id: <1503130946-2854-15-git-send-email-bhumirks@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503130946-2854-1-git-send-email-bhumirks@gmail.com> References: <1503130946-2854-1-git-send-email-bhumirks@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170819_092749_587366_8F2C43E6 X-CRM114-Status: GOOD ( 11.23 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on casper.infradead.org summary: Content analysis details: (-2.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400e:c05:0:0:0:241 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (bhumirks[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Cc: Bhumika Goyal <bhumirks@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
diff --git a/drivers/staging/greybus/gbphy.c b/drivers/staging/greybus/gbphy.c index 603de6f..80c1da8 100644 --- a/drivers/staging/greybus/gbphy.c +++ b/drivers/staging/greybus/gbphy.c @@ -66,7 +66,7 @@ static int gb_gbphy_idle(struct device *dev) gb_gbphy_idle) }; -static struct device_type greybus_gbphy_dev_type = { +static const struct device_type greybus_gbphy_dev_type = { .name = "gbphy_device", .release = gbphy_dev_release, .pm = &gb_gbphy_pm_ops,
Make this const as it is only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> --- drivers/staging/greybus/gbphy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)