Skip to content

Commit 6f4ecbe

Browse files
thierryredingolofj
authored andcommitted
soc/tegra: fuse: Fix build with Tegra194 configuration
If only Tegra194 support is enabled, the tegra30_fuse_read() and tegra30_fuse_init() function are not declared and cause a build failure. Add Tegra194 to the preprocessor guard to make sure these functions are available for Tegra194-only builds as well. Link: https://lore.kernel.org/r/20200203143114.3967295-1-thierry.reding@gmail.com Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent d7a9c59 commit 6f4ecbe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/soc/tegra/fuse/fuse-tegra30.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
defined(CONFIG_ARCH_TEGRA_124_SOC) || \
3737
defined(CONFIG_ARCH_TEGRA_132_SOC) || \
3838
defined(CONFIG_ARCH_TEGRA_210_SOC) || \
39-
defined(CONFIG_ARCH_TEGRA_186_SOC)
39+
defined(CONFIG_ARCH_TEGRA_186_SOC) || \
40+
defined(CONFIG_ARCH_TEGRA_194_SOC)
4041
static u32 tegra30_fuse_read_early(struct tegra_fuse *fuse, unsigned int offset)
4142
{
4243
if (WARN_ON(!fuse->base))

0 commit comments

Comments
 (0)