mirror of https://github.com/torvalds/linux.git
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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mc.c | ||
| mc.h | ||
| tegra20-emc.c | ||
| tegra20.c | ||
| tegra30-emc.c | ||
| tegra30.c | ||
| tegra114.c | ||
| tegra124-emc.c | ||
| tegra124.c | ||
| tegra186-emc.c | ||
| tegra186.c | ||
| tegra194.c | ||
| tegra210-emc-cc-r21021.c | ||
| tegra210-emc-core.c | ||
| tegra210-emc-table.c | ||
| tegra210-emc.h | ||
| tegra210-mc.h | ||
| tegra210.c | ||