On Mon, Jul 30, 2012 at 05:44:44PM +0100, Russell King - ARM Linux wrote:
> Okay, so last night's build run shows some new warnings...
> 
> drivers/regulator/twl-regulator.c: In function 'twlreg_probe':
> drivers/regulator/twl-regulator.c:1151: warning: assignment discards 
> qualifiers from pointer target type
> drivers/regulator/twl-regulator.c:1160: warning: assignment discards 
> qualifiers from pointer target type
> 
> These two look like missing const - looks like they were introduced by:
> 
> commit 98d7bbb9929bcc14e11ac8a55245a4f2dc174e17
> Author: Uwe Kleine-König <[email protected]>
> Date:   Thu Jun 7 12:20:14 2012 +0200
> 
>     of: add const to struct *of_device_id.data
> 
>     Drivers should never need to modify the data of a device id. So it can
>     be const which in turn allows more consts in the driver.
> 
>     Acked-by: Greg Kroah-Hartman <[email protected]>
>     Signed-off-by: Uwe Kleine-König <[email protected]>

I notice this one is still present in the kernel.  Uwe, what's happening
with it?
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to