soc/tegra: Fix build failure on Tegra241
authorArnd Bergmann <arnd@arndb.de>
Wed, 3 Jan 2024 10:26:49 +0000 (11:26 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 1 Feb 2024 15:03:18 +0000 (16:03 +0100)
commitd820100a1bdec5fd671310de902dc8baea317a3a
tree1dee9c1e1eb7fdba888cbe279279f859a1949d33
parent81b3f0efbbced8dbf4ef4a4c0008a7ada427b38d
soc/tegra: Fix build failure on Tegra241

If all the other SoCs are disabled, the driver fails to build:

drivers/soc/tegra/fuse/fuse-tegra30.c:684:17: error: 'tegra30_fuse_read' undeclared here (not in a function); did you mean 'tegra_fuse_readl'?
  684 |         .read = tegra30_fuse_read,
      |                 ^~~~~~~~~~~~~~~~~
      |                 tegra_fuse_readl
drivers/soc/tegra/fuse/fuse-tegra30.c:694:17: error: 'tegra30_fuse_init' undeclared here (not in a function); did you mean 'tegra_fuse_info'?
  694 |         .init = tegra30_fuse_init,
      |                 ^~~~~~~~~~~~~~~~~

Fix the list of SoCs using this function to include the newly added one.

Fixes: dee509eb9cd5 ("soc/tegra: fuse: Add support for Tegra241")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Kartik <kkartik@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/fuse/fuse-tegra30.c