summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/spear/pinctrl-spear300.c
diff options
context:
space:
mode:
authorKiran Padwal <kiran.padwal21@gmail.com>2014-08-11 13:17:50 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-08-29 07:13:04 +0200
commit5dfe10b43a91642845dcf281e02ca43ffde0d750 (patch)
treefeb32e5b870f26d1adc8fff5f64a6bba87e1a058 /drivers/pinctrl/spear/pinctrl-spear300.c
parentpinctrl: Add mux options 3 and 4 for rockchip pinctrl (diff)
downloadlinux-5dfe10b43a91642845dcf281e02ca43ffde0d750.tar.xz
linux-5dfe10b43a91642845dcf281e02ca43ffde0d750.zip
pinctrl: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal <kiran.padwal21@gmail.com> Acked-by: Thierry Reding <treding@nvidia.com> Acked-by: Stephen Warren <swarren@nvidia.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/spear/pinctrl-spear300.c')
-rw-r--r--drivers/pinctrl/spear/pinctrl-spear300.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/spear/pinctrl-spear300.c b/drivers/pinctrl/spear/pinctrl-spear300.c
index 4777c0d0e730..9db83e9ee18c 100644
--- a/drivers/pinctrl/spear/pinctrl-spear300.c
+++ b/drivers/pinctrl/spear/pinctrl-spear300.c
@@ -646,7 +646,7 @@ static struct spear_function *spear300_functions[] = {
&gpio1_function,
};
-static struct of_device_id spear300_pinctrl_of_match[] = {
+static const struct of_device_id spear300_pinctrl_of_match[] = {
{
.compatible = "st,spear300-pinmux",
},