summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-07-22 11:07:43 +0200
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-07-23 08:25:34 +0200
commiteaf89f1cd38cf7256ab64424fe94014632044d57 (patch)
tree6f64cdc6cbf14424e104e032f8d02bb6302f478f /tools/perf/scripts/python/exported-sql-viewer.py
parente73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff)
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 <arnd@arndb.de> Acked-by: Jon Hunter <jonathanh@nvidia.com> Link: https://lore.kernel.org/r/20210722090748.1157470-1-arnd@kernel.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions