soc/tegra: fuse: Fix build with Tegra194 configuration
authorThierry Reding <treding@nvidia.com>
Mon, 3 Feb 2020 14:31:14 +0000 (15:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Mar 2020 15:43:39 +0000 (16:43 +0100)
commit1367028826915fde4e57d8afd95660887c5ddacc
tree1ac6f07ef07d4df9d0032a6bcca3e9ea186e360c
parent3c4b25053248dd7e01fa43189338fce0d2f01321
soc/tegra: fuse: Fix build with Tegra194 configuration

[ Upstream commit 6f4ecbe284df5f22e386a640d9a4b32cede62030 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/tegra/fuse/fuse-tegra30.c