linux-stable/drivers/soc/tegra
Jon Hunter f9c380efa7 soc/tegra: pmc: Drop SMP dependency from CPU APIs
When CONFIG_SMP is disabled, the tegra clk driver now fails to build:

drivers/clk/tegra/clk-tegra30.c: In function ‘tegra30_cpu_rail_off_ready’:
drivers/clk/tegra/clk-tegra30.c:1151:2: error: implicit declaration of function ‘tegra_pmc_cpu_is_powered’ [-Werror=implicit-function-declaration]
  cpu_pwr_status = tegra_pmc_cpu_is_powered(1) ||
    ^
Fix the above error by removing the CONFIG_SMP ifdef around the
declaration around the PMC CPU APIs because although these are not
needed for non-SMP configurations, there is no harm in including these
for non-SMP builds either.

Fixes: 61866523ed6e ("clk: tegra30: Use Tegra CPU powergate helper function")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2018-12-14 13:32:55 -08:00
..
fuse soc/tegra: fuse: Explicitly request DMA channel from APB DMA driver 2017-12-21 17:04:12 +01:00
common.c soc/tegra: Add Tegra210 support 2015-07-16 09:47:59 +02:00
flowctrl.c soc/tegra: flowctrl: Fix error handling 2017-06-13 16:47:44 +02:00
Kconfig soc/tegra: Add Tegra194 SoC configuration option 2018-03-08 16:44:01 +01:00
Makefile soc/tegra: pmc: Consolidate Tegra186 support 2017-12-13 13:06:44 +01:00
pmc.c soc/tegra: pmc: Drop SMP dependency from CPU APIs 2018-12-14 13:32:55 -08:00
powergate-bpmp.c soc/tegra: bpmp: Check BPMP response return code 2017-10-19 16:33:57 +02:00