Home
last modified time | relevance | path

Searched hist:"16 fa36be89305f06a217509fcce4f4aed5df0627" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/pinctrl/mvebu/
H A Dpinctrl-kirkwood.cdiff 16fa36be89305f06a217509fcce4f4aed5df0627 Wed Jan 09 19:28:09 CET 2013 Andrew Lunn <andrew@lunn.ch> pinctrl: mvebu: Fix compiler warnings

match->data is const void * where as dev.platform_data is just void *.
Add a cast to remove the const, which is causing the compiler warning:

drivers/pinctrl/mvebu/pinctrl-kirkwood.c:461:26: warning: assignment
discards 'const' qualifier from pointer target type

Dove has the exact same warning, so gets the same cast.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
H A Dpinctrl-dove.cdiff 16fa36be89305f06a217509fcce4f4aed5df0627 Wed Jan 09 19:28:09 CET 2013 Andrew Lunn <andrew@lunn.ch> pinctrl: mvebu: Fix compiler warnings

match->data is const void * where as dev.platform_data is just void *.
Add a cast to remove the const, which is causing the compiler warning:

drivers/pinctrl/mvebu/pinctrl-kirkwood.c:461:26: warning: assignment
discards 'const' qualifier from pointer target type

Dove has the exact same warning, so gets the same cast.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>