soc/tegra: fuse: Fix Tegra234-only builds
authorThierry Reding <treding@nvidia.com>
Tue, 13 Apr 2021 12:20:57 +0000 (14:20 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 11 Jun 2021 11:31:01 +0000 (13:31 +0200)
The tegra30_fuse_read() symbol is used on Tegra234, so make sure it's
available.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/fuse/fuse-tegra30.c

index 9ea7f01..c1aa781 100644 (file)
@@ -37,7 +37,8 @@
     defined(CONFIG_ARCH_TEGRA_132_SOC) || \
     defined(CONFIG_ARCH_TEGRA_210_SOC) || \
     defined(CONFIG_ARCH_TEGRA_186_SOC) || \
-    defined(CONFIG_ARCH_TEGRA_194_SOC)
+    defined(CONFIG_ARCH_TEGRA_194_SOC) || \
+    defined(CONFIG_ARCH_TEGRA_234_SOC)
 static u32 tegra30_fuse_read_early(struct tegra_fuse *fuse, unsigned int offset)
 {
        if (WARN_ON(!fuse->base))