aboutsummaryrefslogtreecommitdiffstats
path: root/samples/v4l
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-08-23 11:25:08 +0200
committerArnd Bergmann <arnd@arndb.de>2017-08-23 11:54:10 +0200
commit226cff485c803ac0f3a6bc52b9b638eb2c41181c (patch)
tree93fe1d18195ce71f7ee97d8e6a43f9b55ce3fb2f /samples/v4l
parent2e9a41dca33f06ec46aad332f17e2fcc07d20578 (diff)
downloadlinux-226cff485c803ac0f3a6bc52b9b638eb2c41181c.tar.gz
soc/tegra: Restrict SoC device registration to Tegra
Commit 8a46828e623c ("soc/tegra: Register SoC device") added an initcall to register the SoC device on Tegra. However, that code is unrestricted and will run on all platforms, causing unwanted warnings. Fix this by first checking that we're running on hardware that supports the fuses block that we use to provide SoC information. Fixes: 8a46828e623c ("soc/tegra: Register SoC device") Reported-by: Sudeep Holla <sudeep.holla@arm.com> Tested-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'samples/v4l')
0 files changed, 0 insertions, 0 deletions