mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 05:04:09 +08:00
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>
This commit is contained in:
parent
722782fee8
commit
30373b639a
@ -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 },
|
||||
{ },
|
||||
|
Loading…
Reference in New Issue
Block a user