Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754681AbeAKJYa (ORCPT + 1 other); Thu, 11 Jan 2018 04:24:30 -0500 Received: from mail-qk0-f193.google.com ([209.85.220.193]:35923 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754592AbeAKJY1 (ORCPT ); Thu, 11 Jan 2018 04:24:27 -0500 X-Google-Smtp-Source: ACJfBotMRGsWVHVZwlKVzZBGw4oKvka6Uj8zo52gcN7Zg49bW/X0tFThFkQFLzIWOBxEHEzri0BsVj/ht84tkqmnTFc= MIME-Version: 1.0 In-Reply-To: <20180106142553.15322-2-stefan@agner.ch> References: <20180106142553.15322-1-stefan@agner.ch> <20180106142553.15322-2-stefan@agner.ch> From: Linus Walleij Date: Thu, 11 Jan 2018 10:24:26 +0100 Message-ID: Subject: Re: [PATCH v2 1/5] pinctrl: imx: use struct imx_pinctrl_soc_info as a const To: Stefan Agner Cc: Shawn Guo , Sascha Hauer , Fabio Estevam , Dong Aisheng , Rob Herring , Mark Rutland , Linux ARM , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" , Arvind Yadav , Gary Bisson Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Sat, Jan 6, 2018 at 3:25 PM, Stefan Agner wrote: > For some SoCs the struct imx_pinctrl_soc_info is passed through > of_device_id.data which is const. Most variables are already const > or otherwise not written. However, some fields are modified at > runtime. Move those fields to the dynamically allocated struct > imx_pinctrl. > > Fixes: b3060044e495 ("pinctrl: freescale: imx7d: make of_device_ids const") > Cc: Shawn Guo > Cc: Arvind Yadav > Cc: Dong Aisheng > Cc: Gary Bisson > Signed-off-by: Stefan Agner Patch applied. Yours, Linus Walleij