Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/tegra: gr2d: Correct swapped device-tree compatibles

The device-tree compatibles are swapped in the code, correct them.

Tested-by: Peter Geis <pgwipeout@gmail.com>
Tested-by: Nicolas Chauvet <kwizart@gmail.com>
Tested-by: Matt Merhar <mattmerhar@protonmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Dmitry Osipenko and committed by
Thierry Reding
efc8a109 e87ba0fe

+2 -2
+2 -2
drivers/gpu/drm/tegra/gr2d.c
··· 162 162 }; 163 163 164 164 static const struct of_device_id gr2d_match[] = { 165 - { .compatible = "nvidia,tegra30-gr2d", .data = &tegra20_gr2d_soc }, 166 - { .compatible = "nvidia,tegra20-gr2d", .data = &tegra30_gr2d_soc }, 165 + { .compatible = "nvidia,tegra30-gr2d", .data = &tegra30_gr2d_soc }, 166 + { .compatible = "nvidia,tegra20-gr2d", .data = &tegra20_gr2d_soc }, 167 167 { }, 168 168 }; 169 169 MODULE_DEVICE_TABLE(of, gr2d_match);