Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752791AbdHQNSO (ORCPT ); Thu, 17 Aug 2017 09:18:14 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:33542 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751851AbdHQNSM (ORCPT ); Thu, 17 Aug 2017 09:18:12 -0400 MIME-Version: 1.0 In-Reply-To: <1502796222-9681-3-git-send-email-arvind.yadav.cs@gmail.com> References: <1502796222-9681-1-git-send-email-arvind.yadav.cs@gmail.com> <1502796222-9681-3-git-send-email-arvind.yadav.cs@gmail.com> From: "Lad, Prabhakar" Date: Thu, 17 Aug 2017 14:17:41 +0100 Message-ID: Subject: Re: [PATCH 2/3] [media] davinci: constify platform_device_id To: Arvind Yadav Cc: Philipp Zabel , Mauro Carvalho Chehab , Laurent Pinchart , LKML , linux-media 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: 450 Lines: 14 On Tue, Aug 15, 2017 at 12:23 PM, Arvind Yadav wrote: > > platform_device_id are not supposed to change at runtime. All functions > working with platform_device_id provided by > work with const platform_device_id. So mark the non-const structs as > const. > > Signed-off-by: Arvind Yadav Acked-by: Lad, Prabhakar Cheers, --Prabhakar Lad