diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 09:07:42 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-09 09:01:53 (GMT) |
commit | 30373b639aa46d9f28f6b030cab9c0a54b9705d5 (patch) | |
tree | 4b16210d92c36b6fd0be381275a6468d3b82f40d /drivers | |
parent | 722782fee83b716bc1e162311f8f486aeb4edc45 (diff) | |
download | linux-30373b639aa46d9f28f6b030cab9c0a54b9705d5.tar.xz |
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')
-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 c6bdc2e..4e8fb82 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 = { .upper_offset = 0x80, }; -static struct of_device_id tegra_gpio_of_match[] = { +static const struct of_device_id tegra_gpio_of_match[] = { { .compatible = "nvidia,tegra30-gpio", .data = &tegra30_gpio_config }, { .compatible = "nvidia,tegra20-gpio", .data = &tegra20_gpio_config }, { }, |