diff options
author | Kiran Padwal <kiran.padwal21@gmail.com> | 2014-08-11 11:17:50 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-08-29 05:13:04 (GMT) |
commit | 5dfe10b43a91642845dcf281e02ca43ffde0d750 (patch) | |
tree | feb32e5b870f26d1adc8fff5f64a6bba87e1a058 /drivers/pinctrl/spear/pinctrl-spear1310.c | |
parent | f3ababa8ba2ace6668a24803910577a49dc146dd (diff) | |
download | linux-5dfe10b43a91642845dcf281e02ca43ffde0d750.tar.xz |
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-spear1310.c')
-rw-r--r-- | drivers/pinctrl/spear/pinctrl-spear1310.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/spear/pinctrl-spear1310.c b/drivers/pinctrl/spear/pinctrl-spear1310.c index 1a8bbfe..6d57d43 100644 --- a/drivers/pinctrl/spear/pinctrl-spear1310.c +++ b/drivers/pinctrl/spear/pinctrl-spear1310.c @@ -2692,7 +2692,7 @@ static struct spear_pinctrl_machdata spear1310_machdata = { .modes_supported = false, }; -static struct of_device_id spear1310_pinctrl_of_match[] = { +static const struct of_device_id spear1310_pinctrl_of_match[] = { { .compatible = "st,spear1310-pinmux", }, |