Skip to contentSkip to conversation

gpio/gpio-omap.c: add a const qualifier

PATCH New Linus Walleij 1 participant 1 message Jul 14, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 5/11 gpio/gpio-omap.c: add a const qualifier

Quoted 10 lines · On Fri, Jul 13, 2012 at 2:32 PM, <[email protected]> wrote:

From: Uwe Kleine-K?nig <[email protected]>

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

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