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/[email protected] Reported-by: kbuild test robot <[email protected]> Signed-off-by: Thierry Reding <[email protected]> Signed-off-by: Olof Johansson <[email protected]>
1 parent d7a9c59 commit 6f4ecbe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)