]> Git Repo - linux.git/commitdiff
drm/tegra: gr2d: Correct swapped device-tree compatibles
authorDmitry Osipenko <[email protected]>
Tue, 12 Jan 2021 18:14:20 +0000 (21:14 +0300)
committerThierry Reding <[email protected]>
Fri, 15 Jan 2021 16:18:52 +0000 (17:18 +0100)
The device-tree compatibles are swapped in the code, correct them.

Tested-by: Peter Geis <[email protected]>
Tested-by: Nicolas Chauvet <[email protected]>
Tested-by: Matt Merhar <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
drivers/gpu/drm/tegra/gr2d.c

index 1a0d3ba6e525ae4139e1aedda54ed22a3159a897..f30aa86e4c9fd4e1ac227a27a506c10b35469dec 100644 (file)
@@ -162,8 +162,8 @@ static const struct gr2d_soc tegra30_gr2d_soc = {
 };
 
 static const struct of_device_id gr2d_match[] = {
-       { .compatible = "nvidia,tegra30-gr2d", .data = &tegra20_gr2d_soc },
-       { .compatible = "nvidia,tegra20-gr2d", .data = &tegra30_gr2d_soc },
+       { .compatible = "nvidia,tegra30-gr2d", .data = &tegra30_gr2d_soc },
+       { .compatible = "nvidia,tegra20-gr2d", .data = &tegra20_gr2d_soc },
        { },
 };
 MODULE_DEVICE_TABLE(of, gr2d_match);
This page took 0.059617 seconds and 4 git commands to generate.