diff options
author | Kiran Padwal <kiran.padwal21@gmail.com> | 2014-08-11 07:17:50 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-08-29 01:13:04 -0400 |
commit | 5dfe10b43a91642845dcf281e02ca43ffde0d750 (patch) | |
tree | feb32e5b870f26d1adc8fff5f64a6bba87e1a058 /drivers/pinctrl/pinctrl-tegra20.c | |
parent | f3ababa8ba2ace6668a24803910577a49dc146dd (diff) |
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/pinctrl-tegra20.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-tegra20.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-tegra20.c b/drivers/pinctrl/pinctrl-tegra20.c index 7563ebc9c791..c9805d2e71b0 100644 --- a/drivers/pinctrl/pinctrl-tegra20.c +++ b/drivers/pinctrl/pinctrl-tegra20.c | |||
@@ -2228,7 +2228,7 @@ static int tegra20_pinctrl_probe(struct platform_device *pdev) | |||
2228 | return tegra_pinctrl_probe(pdev, &tegra20_pinctrl); | 2228 | return tegra_pinctrl_probe(pdev, &tegra20_pinctrl); |
2229 | } | 2229 | } |
2230 | 2230 | ||
2231 | static struct of_device_id tegra20_pinctrl_of_match[] = { | 2231 | static const struct of_device_id tegra20_pinctrl_of_match[] = { |
2232 | { .compatible = "nvidia,tegra20-pinmux", }, | 2232 | { .compatible = "nvidia,tegra20-pinmux", }, |
2233 | { }, | 2233 | { }, |
2234 | }; | 2234 | }; |