Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752517AbdHNDNB (ORCPT ); Sun, 13 Aug 2017 23:13:01 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:50542 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751431AbdHNDM7 (ORCPT ); Sun, 13 Aug 2017 23:12:59 -0400 Date: Sun, 13 Aug 2017 20:12:58 -0700 (PDT) Message-Id: <20170813.201258.1936266760483908698.davem@davemloft.net> To: arvind.yadav.cs@gmail.com Cc: wg@grandegger.com, mkl@pengutronix.de, madalin.bucur@nxp.com, sergei.shtylyov@cogentembedded.com, grygorii.strashko@ti.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-can@vger.kernel.org Subject: Re: [PATCH 0/4] constify net platform_device_id From: David Miller In-Reply-To: <1502622705-11169-1-git-send-email-arvind.yadav.cs@gmail.com> References: <1502622705-11169-1-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 13 Aug 2017 20:12:59 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 335 Lines: 8 From: Arvind Yadav Date: Sun, 13 Aug 2017 16:41:44 +0530 > platform_device_id are not supposed to change at runtime. All functions > working with platform_device_id provided by > work with const platform_device_id. So mark the non-const structs as const. Series applied, thanks.