pinctrl: sunxi: Add const qualifier to the pin descriptor
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 18 Apr 2014 17:34:07 +0000 (19:34 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 4 May 2014 06:59:02 +0000 (23:59 -0700)
commitd39bd8457fc057d9bf380211215684e23ff48ddd
treea8a514934b4cc68e8c106d75cd1b55bd900dd85f
parentfd67f884782a281eb033e40b0f8eae623416035e
pinctrl: sunxi: Add const qualifier to the pin descriptor

The pins description structure were declared as const, but the of_device_id
data magic was losing it silently.

Make sure we have it on both sides.

And now that we're using const, we can also remove the useless cast in probe.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/pinctrl/pinctrl-sunxi.c
drivers/pinctrl/pinctrl-sunxi.h