Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752917AbdF2M5E (ORCPT ); Thu, 29 Jun 2017 08:57:04 -0400 Received: from mail-it0-f43.google.com ([209.85.214.43]:38352 "EHLO mail-it0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752420AbdF2M47 (ORCPT ); Thu, 29 Jun 2017 08:56:59 -0400 MIME-Version: 1.0 In-Reply-To: References: From: Linus Walleij Date: Thu, 29 Jun 2017 14:56:57 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: freescale: imx7d: make of_device_ids const. To: Arvind Yadav Cc: "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 376 Lines: 12 On Tue, Jun 27, 2017 at 1:55 PM, Arvind Yadav wrote: > 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 Patch applied. Yours, Linus Walleij