Message ID | 20200203143114.3967295-1-thierry.reding@gmail.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 6f4ecbe284df5f22e386a640d9a4b32cede62030 |
Headers | show |
Series | soc/tegra: fuse: Fix build with Tegra194 configuration | expand |
Hello: The following patches were marked "accepted", because they were applied to soc/soc.git (refs/heads/for-next): Patch: soc/tegra: fuse: Fix build with Tegra194 configuration Submitter: Thierry Reding <thierry.reding@gmail.com> Patchwork: https://patchwork.kernel.org/project/linux-soc/list/?series=238497 Total patches: 1
Hello: This patch was applied to soc/soc.git (refs/heads/for-next). On Mon, 3 Feb 2020 15:31:14 +0100 you wrote: > From: Thierry Reding <treding@nvidia.com> > > 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. > > [...] Here is a summary with links: - soc/tegra: fuse: Fix build with Tegra194 configuration https://git.kernel.org/soc/soc/c/b543f027c7d89273b1e3c6d9a76b00fc6770a7e6 You are awesome, thank you!
diff --git a/drivers/soc/tegra/fuse/fuse-tegra30.c b/drivers/soc/tegra/fuse/fuse-tegra30.c index f68f4e1c215d..e6037f900fb7 100644 --- a/drivers/soc/tegra/fuse/fuse-tegra30.c +++ b/drivers/soc/tegra/fuse/fuse-tegra30.c @@ -36,7 +36,8 @@ defined(CONFIG_ARCH_TEGRA_124_SOC) || \ defined(CONFIG_ARCH_TEGRA_132_SOC) || \ defined(CONFIG_ARCH_TEGRA_210_SOC) || \ - defined(CONFIG_ARCH_TEGRA_186_SOC) + defined(CONFIG_ARCH_TEGRA_186_SOC) || \ + defined(CONFIG_ARCH_TEGRA_194_SOC) static u32 tegra30_fuse_read_early(struct tegra_fuse *fuse, unsigned int offset) { if (WARN_ON(!fuse->base))