Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751782AbdHOLfE (ORCPT ); Tue, 15 Aug 2017 07:35:04 -0400 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:45691 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750827AbdHOLfD (ORCPT ); Tue, 15 Aug 2017 07:35:03 -0400 Message-ID: <1502796900.2342.1.camel@pengutronix.de> Subject: Re: [PATCH 1/3] [media] coda: constify platform_device_id From: Philipp Zabel To: Arvind Yadav , mchehab@kernel.org, prabhakar.csengg@gmail.com, laurent.pinchart@ideasonboard.com Cc: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Date: Tue, 15 Aug 2017 13:35:00 +0200 In-Reply-To: <1502796222-9681-2-git-send-email-arvind.yadav.cs@gmail.com> References: <1502796222-9681-1-git-send-email-arvind.yadav.cs@gmail.com> <1502796222-9681-2-git-send-email-arvind.yadav.cs@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 410 Lines: 13 On Tue, 2017-08-15 at 16:53 +0530, 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: Philipp Zabel thanks Philipp