]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
firmware: tegra: Fix IVC dependency problems
authorThierry Reding <treding@nvidia.com>
Tue, 6 May 2025 13:31:16 +0000 (15:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:17 +0000 (16:28 +0200)
commit5aa770f45da721038c135b8dcb78f28649a98451
tree1ed3efbec1c45d6487d67d665aa031eefc2a237f
parentab3bf61d935118a1cf014c65b7692b93dbd44c4b
firmware: tegra: Fix IVC dependency problems

[ Upstream commit 78eb18020a88a4eed15f5af7700ed570642ff8f1 ]

The IVC code is library code that other drivers need to select if they
need that library. However, if the symbol is user-selectable this can
lead to conflicts.

Fix this by making the symbol only selectable for COMPILE_TEST and add
a select TEGRA_IVC to TEGRA_BPMP, which is currently the only user.

Link: https://lore.kernel.org/r/20250506133118.1011777-10-thierry.reding@gmail.com
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/firmware/tegra/Kconfig