[PATCH 12/25] mmc/omap_hsmmc: add a const qualifier

S, Venkatraman svenkatr at ti.com
Mon Jul 23 11:41:40 EDT 2012


On Mon, Jul 23, 2012 at 2:43 PM, Uwe Kleine-König
<u.kleine-koenig at pengutronix.de> wrote:
> This prepares *of_device_id.data becoming const. Without this change
> the following warning would occur:
>
>         drivers/mmc/host/omap_hsmmc.c: In function 'omap_hsmmc_probe':
>         drivers/mmc/host/omap_hsmmc.c:1808: warning: initialization discards qualifiers from pointer target type
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Acked-by: Venkatraman S <svenkatr at ti.com>


> ---
>  drivers/mmc/host/omap_hsmmc.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>



More information about the linux-arm-kernel mailing list