Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751284AbdH1WtC (ORCPT ); Mon, 28 Aug 2017 18:49:02 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:50332 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751194AbdH1WtB (ORCPT ); Mon, 28 Aug 2017 18:49:01 -0400 Date: Mon, 28 Aug 2017 15:49:00 -0700 (PDT) Message-Id: <20170828.154900.847334113453965241.davem@davemloft.net> To: arvind.yadav.cs@gmail.com Cc: linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org Subject: Re: [PATCH] sparc: leon: grpci2: constify of_device_id From: David Miller In-Reply-To: References: 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]); Mon, 28 Aug 2017 15:49:01 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 346 Lines: 10 From: Arvind Yadav Date: Sat, 26 Aug 2017 16:58:34 +0530 > of_device_id are not supposed to change at runtime. All functions > working with of_device_id provided by work with const > of_device_ids. So mark the const and __initconst. > > Signed-off-by: Arvind Yadav Applied.