firmware: tegra: Conditionally support SoC generations
authorThierry Reding <treding@nvidia.com>
Thu, 7 Feb 2019 11:50:05 +0000 (12:50 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 7 Feb 2019 17:52:19 +0000 (18:52 +0100)
commit79d031fcad56e27fc4d614d54cd5962cad282473
tree3e1f0207ffb5a465045537c132c79f4c80136144
parente835d442cff641a0831b090a47457366d7919324
firmware: tegra: Conditionally support SoC generations

Only include support for Tegra210 and Tegra186 in the BPMP driver if
support for those SoCs was selected. This fixes a build failure seen
on 32-bit ARM allmodconfig builds, but could also happen on 64-bit
ARM builds if either Tegra210 or Tegra186 were not selected.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Timo Alho <talho@nvidia.com>
Tested-by: Timo Alho <talho@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/firmware/tegra/bpmp-private.h
drivers/firmware/tegra/bpmp.c