[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <503AF6B6.1010808@nvidia.com>
Date: Sun, 26 Aug 2012 21:25:26 -0700
From: Stephen Warren <swarren@...dia.com>
To: Laxman Dewangan <ldewangan@...dia.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
CC: vinod.koul@...el.com, djbw@...com, linux-kernel@...r.kernel.org,
linux-tegra@...r.kernel.org
Subject: Re: [PATCH] dma: tegra: add const to of_device_id.data's structure
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]
>
> This warning came after the change
> ---------
> commit 98d7bbb9929bcc14e11ac8a55245a4f2dc174e17
> Author: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
> of: add const to struct *of_device_id.data
> ---------
Acked-by: Stephen Warren <swarren@...dotorg.org>
I wonder if this should go through Uwe's branch that made similar
changes for all other drivers though? Uwe now CC'd.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists