Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751460AbdFZILU (ORCPT ); Mon, 26 Jun 2017 04:11:20 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:35382 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751353AbdFZILM (ORCPT ); Mon, 26 Jun 2017 04:11:12 -0400 MIME-Version: 1.0 In-Reply-To: <99e5ddc3b23962b22740dc93113d178f6f98df2f.1498210098.git.arvind.yadav.cs@gmail.com> References: <99e5ddc3b23962b22740dc93113d178f6f98df2f.1498210098.git.arvind.yadav.cs@gmail.com> From: Geert Uytterhoeven Date: Mon, 26 Jun 2017 10:11:10 +0200 X-Google-Sender-Auth: SYTnbW2sOxW8tEif7sMuP2Vpksg Message-ID: Subject: Re: [PATCH] PCI: rcar-gen2: make of_device_ids const To: Arvind Yadav Cc: Simon Horman , Bjorn Helgaas , linux-pci , "linux-kernel@vger.kernel.org" , Linux-Renesas 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: 737 Lines: 20 On Fri, Jun 23, 2017 at 11:29 AM, 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 Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds