Skip to content

Commit 0454efb

Browse files
jonhunterthierryreding
authored andcommitted
memory: tegra: Fix KCONFIG variables for Tegra186 and Tegra194
Commit a127e69 ("memory: tegra: Add support for the Tegra194 memory controller") and commit 4e04b88 ("memory: tegra: Only include support for enabled SoCs") incorrectly added the KCONFIG variables CONFIG_ARCH_TEGRA186_SOC and CONFIG_ARCH_TEGRA194_SOC to the Tegra EMC driver. These KCONFIG variables do not exist and prevent the EMC driver from being probed on Tegra186 and Tegra194. These KCONFIG variable names are simply missing one underscore and so fix this by adding the necessary underscore to the variable names. Signed-off-by: Jon Hunter <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 5a6b5d5 commit 0454efb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/memory/tegra/tegra186-emc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,10 @@ static int tegra186_emc_remove(struct platform_device *pdev)
268268
}
269269

270270
static const struct of_device_id tegra186_emc_of_match[] = {
271-
#if defined(CONFIG_ARCH_TEGRA186_SOC)
271+
#if defined(CONFIG_ARCH_TEGRA_186_SOC)
272272
{ .compatible = "nvidia,tegra186-emc" },
273273
#endif
274-
#if defined(CONFIG_ARCH_TEGRA194_SOC)
274+
#if defined(CONFIG_ARCH_TEGRA_194_SOC)
275275
{ .compatible = "nvidia,tegra194-emc" },
276276
#endif
277277
{ /* sentinel */ }

0 commit comments

Comments
 (0)