]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit628cf14bf5a6909f2444cfb98f34c44eb47bd3f9
treea3e353455229d294950063ff3551a8eecb2b9f9a
parentf8107091b24db174ff57bdea9ebbd932f80666a3
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