Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30373b63 authored by Jingoo Han's avatar Jingoo Han Committed by Linus Walleij
Browse files

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 722782fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 },
	{ },