summaryrefslogtreecommitdiffstats
path: root/drivers/soc/tegra/fuse/fuse.h
diff options
context:
space:
mode:
authorKartik <kkartik@nvidia.com>2023-12-20 11:40:13 +0530
committerThierry Reding <treding@nvidia.com>2024-02-01 15:58:05 +0100
commit7a849d0b757c8afa642e112a676767687e46d3a5 (patch)
tree2bf759a775118bd878a482a52fe9b93f37d88719 /drivers/soc/tegra/fuse/fuse.h
parent8402074f30238ee1bdc70b843932cd7350830ab6 (diff)
downloadlinux-stable-7a849d0b757c8afa642e112a676767687e46d3a5.tar.gz
linux-stable-7a849d0b757c8afa642e112a676767687e46d3a5.tar.bz2
linux-stable-7a849d0b757c8afa642e112a676767687e46d3a5.zip
soc/tegra: fuse: Define tegra194_soc_attr_group for Tegra241
Tegra241 SoC data uses tegra194_soc_attr_group, which is only defined if config CONFIG_ARCH_TEGRA_194_SOC or CONFIG_ARCH_TEGRA_234_SOC or both are enabled. This causes a build failure if both of these configs are disabled and CONFIG_ARCH_TEGRA_241_SOC is enabled. Define tegra194_soc_attr_group if CONFIG_ARCH_TEGRA_241_SOC is enabled. Signed-off-by: Kartik <kkartik@nvidia.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/soc/tegra/fuse/fuse.h')
-rw-r--r--drivers/soc/tegra/fuse/fuse.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/soc/tegra/fuse/fuse.h b/drivers/soc/tegra/fuse/fuse.h
index f3b705327c20..9fee6ad6ad9e 100644
--- a/drivers/soc/tegra/fuse/fuse.h
+++ b/drivers/soc/tegra/fuse/fuse.h
@@ -124,7 +124,8 @@ extern const struct tegra_fuse_soc tegra186_fuse_soc;
#endif
#if IS_ENABLED(CONFIG_ARCH_TEGRA_194_SOC) || \
- IS_ENABLED(CONFIG_ARCH_TEGRA_234_SOC)
+ IS_ENABLED(CONFIG_ARCH_TEGRA_234_SOC) || \
+ IS_ENABLED(CONFIG_ARCH_TEGRA_241_SOC)
extern const struct attribute_group tegra194_soc_attr_group;
#endif