soc/tegra: fuse: Fix build with Tegra194 configuration
authorThierry Reding <treding@nvidia.com>
Mon, 3 Feb 2020 14:31:14 +0000 (15:31 +0100)
committerOlof Johansson <olof@lixom.net>
Tue, 11 Feb 2020 23:00:15 +0000 (15:00 -0800)
commit6f4ecbe284df5f22e386a640d9a4b32cede62030
treea3e353455229d294950063ff3551a8eecb2b9f9a
parentd7a9c595118ad377b1c68524578271eb16f81a00
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>
drivers/soc/tegra/fuse/fuse-tegra30.c