kernel_optimize_test/include/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
..
ahb.h
bpmp-abi.h soc/tegra: bpmp: Update ABI header 2017-06-13 15:16:25 +02:00
bpmp.h firmware: tegra: Simplify channel management 2018-03-08 14:20:58 +01:00
common.h soc/tegra: Implement runtime check for Tegra SoCs 2014-07-17 14:58:41 +02:00
cpuidle.h ARM: tegra: fix compile-testing PCI host driver 2018-06-02 01:17:47 -07:00
emc.h memory: tegra: Add EMC (external memory controller) driver 2015-05-05 11:12:17 +02:00
flowctrl.h soc/tegra: Move Tegra flowctrl driver 2017-04-04 15:48:04 +02:00
fuse.h soc/tegra: Register SoC device 2017-08-17 16:43:13 +02:00
ivc.h firmware: tegra: Add IVC library 2016-11-18 14:33:42 +01:00
mc.h memory: tegra: Introduce memory client hot reset 2018-04-30 10:12:21 +02:00
pm.h soc/tegra: pmc: restrict compilation of suspend-related support to ARM 2015-01-09 13:41:19 +01:00
pmc.h soc/tegra: pmc: Drop SMP dependency from CPU APIs 2018-12-14 13:32:55 -08:00