Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752120AbdFOSlM (ORCPT ); Thu, 15 Jun 2017 14:41:12 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:59638 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750727AbdFOSlL (ORCPT ); Thu, 15 Jun 2017 14:41:11 -0400 Date: Thu, 15 Jun 2017 14:41:09 -0400 (EDT) Message-Id: <20170615.144109.1575148153383203041.davem@davemloft.net> To: arvind.yadav.cs@gmail.com Cc: john.stultz@linaro.org, nicstange@gmail.com, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] sparc/time: make of_device_ids const From: David Miller In-Reply-To: <576039c52d8aebbc40bec5ea2929d6517b9130c4.1497521695.git.arvind.yadav.cs@gmail.com> References: <576039c52d8aebbc40bec5ea2929d6517b9130c4.1497521695.git.arvind.yadav.cs@gmail.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / 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]); Thu, 15 Jun 2017 10:59:29 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 353 Lines: 10 From: Arvind Yadav Date: Thu, 15 Jun 2017 16:30:20 +0530 > of_device_ids are not supposed to change at runtime. All functions > working with of_device_ids provided by work with const > of_device_ids. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Applied.