diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2026-06-18 16:36:50 +0200 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2026-06-22 08:52:46 +0200 |
| commit | 813e034925814858cc52e7de321ec4848314e15d (patch) | |
| tree | a28ba33aa12880e61d373741af22546c6ad9a05c /Documentation/tty/git@git.tavy.me:linux.git | |
| parent | e60d3f9b4c89ffff5472ddc2829d5e29bcb153fe (diff) | |
soc/tegra: pmc: fix #ifdef block in header
When build testing on ARM without the PMC driver, the other drivers
fail to link:
ld.lld: error: undefined symbol: tegra_pmc_core_domain_state_synced
>>> referenced by regulators-tegra30.c
>>> drivers/soc/tegra/regulators-tegra30.o:(tegra30_regulator_balance_voltage) in archive vmlinux.a
>>> referenced by regulators-tegra20.c
>>> drivers/soc/tegra/regulators-tegra20.o:(tegra20_core_rtc_update) in archive vmlinux.a
Adapt the checks in the header to cover both cases on other architectures
and without PMC.
Fixes: 8318af5dd29c ("soc/tegra: pmc: Move legacy code behind CONFIG_ARM guard")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'Documentation/tty/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
