diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2020-07-12 11:33:47 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2020-07-14 17:37:05 +0200 |
commit | 0454efbcb2611d338b8d744b9cafeb017cb966bf (patch) | |
tree | 62fe67815491da7dbb2125c950629faa0783d5b4 /drivers/memory/tegra | |
parent | 5a6b5d53833c92f05d9892e96d9034ff05df551d (diff) | |
download | linux-0454efbcb2611d338b8d744b9cafeb017cb966bf.tar.gz linux-0454efbcb2611d338b8d744b9cafeb017cb966bf.tar.bz2 linux-0454efbcb2611d338b8d744b9cafeb017cb966bf.zip |
memory: tegra: Fix KCONFIG variables for Tegra186 and Tegra194
Commit a127e690b051 ("memory: tegra: Add support for the Tegra194 memory
controller") and commit 4e04b88633ae ("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 <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/memory/tegra')
-rw-r--r-- | drivers/memory/tegra/tegra186-emc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/memory/tegra/tegra186-emc.c b/drivers/memory/tegra/tegra186-emc.c index f27dd39377e6..8478f59db432 100644 --- a/drivers/memory/tegra/tegra186-emc.c +++ b/drivers/memory/tegra/tegra186-emc.c @@ -268,10 +268,10 @@ static int tegra186_emc_remove(struct platform_device *pdev) } static const struct of_device_id tegra186_emc_of_match[] = { -#if defined(CONFIG_ARCH_TEGRA186_SOC) +#if defined(CONFIG_ARCH_TEGRA_186_SOC) { .compatible = "nvidia,tegra186-emc" }, #endif -#if defined(CONFIG_ARCH_TEGRA194_SOC) +#if defined(CONFIG_ARCH_TEGRA_194_SOC) { .compatible = "nvidia,tegra194-emc" }, #endif { /* sentinel */ } |