From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinod Koul Subject: Re: [PATCH] dma: tegra: add const to of_device_id.data's structure Date: Wed, 29 Aug 2012 03:38:13 +0530 Message-ID: <1346191693.27195.6.camel@vkoul-mobl4> References: <1345976063-24437-1-git-send-email-ldewangan@nvidia.com> <503AF6B6.1010808@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <503AF6B6.1010808-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stephen Warren Cc: vinod.koul-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, Laxman Dewangan , Uwe =?ISO-8859-1?Q?Kleine-K=F6nig?= , djbw-b10kYP2dOMg@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-tegra@vger.kernel.org On Sun, 2012-08-26 at 21:25 -0700, Stephen Warren wrote: > On 08/26/2012 03:14 AM, Laxman Dewangan wrote: > > The membe "data" of structure of_device_id is changed to const > > pointer. Hence initializing this with const type data. > > This will fix the compilation warning like > > drivers/dma/tegra20-apb-dma.c:1217:9: warning: assignment discards = 'const' qualifier from > > pointer target type [enabled by default] > >=20 > > This warning came after the change > > --------- > > commit 98d7bbb9929bcc14e11ac8a55245a4f2dc174e17 > > Author: Uwe Kleine-K=C3=B6nig > > of: add const to struct *of_device_id.data > > --------- >=20 > Acked-by: Stephen Warren Acked-by: Vinod Koul --=20 ~Vinod Koul Intel Corp.