diff options
| author | Arnd Bergmann <[email protected]> | 2021-07-22 09:07:43 +0000 |
|---|---|---|
| committer | Krzysztof Kozlowski <[email protected]> | 2021-07-23 06:25:34 +0000 |
| commit | eaf89f1cd38cf7256ab64424fe94014632044d57 (patch) | |
| tree | 6f64cdc6cbf14424e104e032f8d02bb6302f478f /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | Linux 5.14-rc1 (diff) | |
| download | kernel-eaf89f1cd38cf7256ab64424fe94014632044d57.tar.gz kernel-eaf89f1cd38cf7256ab64424fe94014632044d57.zip | |
memory: tegra: fix unused-function warning
The tegra186_mc_client_sid_override() is only called from
an #ifdef block:
drivers/memory/tegra/tegra186.c:74:13: error: 'tegra186_mc_client_sid_override' defined but not used [-Werror=unused-function]
74 | static void tegra186_mc_client_sid_override(struct tegra_mc *mc,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Add another #ifdef around the called function.
Fixes: 393d66fd2cac ("memory: tegra: Implement SID override programming")
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Jon Hunter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
