[PATCH 08/25] gpio/mpc8xxx: add a const qualifier

Linus Walleij linus.walleij at linaro.org
Mon Jul 30 02:13:29 EST 2012

On Mon, Jul 23, 2012 at 11:13 AM, 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/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_add_controller':
>         drivers/gpio/gpio-mpc8xxx.c:360:30: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Linus Walleij

More information about the Linuxppc-dev mailing list