diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 05:07:42 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-09 05:01:53 -0400 |
commit | 30373b639aa46d9f28f6b030cab9c0a54b9705d5 (patch) | |
tree | 4b16210d92c36b6fd0be381275a6468d3b82f40d /drivers/gpio/gpio-tegra.c | |
parent | 722782fee83b716bc1e162311f8f486aeb4edc45 (diff) |
gpio: tegra: Make of_device_id array const
Make of_device_id array const, because all OF functions
handle it as const.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-tegra.c')
-rw-r--r-- | drivers/gpio/gpio-tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index c6bdc2ed2445..4e8fb8261a87 100644 --- a/drivers/gpio/gpio-tegra.c +++ b/drivers/gpio/gpio-tegra.c | |||
@@ -408,7 +408,7 @@ static struct tegra_gpio_soc_config tegra30_gpio_config = { | |||
408 | .upper_offset = 0x80, | 408 | .upper_offset = 0x80, |
409 | }; | 409 | }; |
410 | 410 | ||
411 | static struct of_device_id tegra_gpio_of_match[] = { | 411 | static const struct of_device_id tegra_gpio_of_match[] = { |
412 | { .compatible = "nvidia,tegra30-gpio", .data = &tegra30_gpio_config }, | 412 | { .compatible = "nvidia,tegra30-gpio", .data = &tegra30_gpio_config }, |
413 | { .compatible = "nvidia,tegra20-gpio", .data = &tegra20_gpio_config }, | 413 | { .compatible = "nvidia,tegra20-gpio", .data = &tegra20_gpio_config }, |
414 | { }, | 414 | { }, |