[PATCH 05/11] gpio/gpio-omap.c: add a const qualifier

Linus Walleij linus.walleij at linaro.org
Sun Jul 15 07:42:14 EST 2012


On Fri, Jul 13, 2012 at 2:32 PM,  <y at pengutronix.de> wrote:

> From: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
>
> This prepares of_device_id.data becoming const. Without this change
> the following warning would occur:
>
>         drivers/gpio/gpio-omap.c: In function 'omap_gpio_probe':
>         drivers/gpio/gpio-omap.c:1060: warning: assignment discards qualifiers from pointer target type
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> Cc: Linus Walleij <linus.walleij at stericsson.com>

Pls run all OMAP-related patches by Kevin Hilman, I need his ACK on
this and the other patch to move on.

Yours,
Linus Walleij


More information about the devicetree-discuss mailing list